Questions tagged [laravel-blade]
Use this tag for questions about the Blade Template Engine, part of the PHP MVC framework Laravel
laravel-blade
7,462
questions
1
vote
1
answer
25
views
Laravel Auth Session Text
simple and easy question from a newbie...
I have a new setup of laravel11 and implemented the login and registration function with verifyMail from the documentation.
Everything works fine. I also can ...
0
votes
1
answer
55
views
Undefined variable when returning view from controller in Laravel
I have a Laravel controller method designed to truncate strings from a Profile model and pass them to a view. However, I'm encountering an "Undefined variable $cutJobTitle" error when trying ...
0
votes
0
answers
27
views
Web Radio API constantly refreshing
I was trying to create a way via Laravel/Livewire to create some sort of Web Socket or otherwise continuous "communicate" with my API end-point. Basically I'm creating a Web Radio that ...
0
votes
1
answer
21
views
Search functionality is not working in Livewire Laravel
I don't understand why is it not working i neither see any errors nor any progress. Somebody please help what i am missing in my code. I already put @livewireStyles in head and @livewireScripts in ...
0
votes
1
answer
61
views
method is not supported for route login
The GET method is not supported for route login. Supported methods: POST.
I don't understand where the login happens here
Why doesn't my Kernel go further?
My Client
async resend() {
try {
...
-3
votes
2
answers
69
views
Laravel, Laravel Blade, Generation Error Exception Undefined Variable $helper when I click the home page navigations second link
I refactored my code, even so, I'm still generated the same Error Exception. I will show the old code and the refactored code. I'll also provided the error message generated by Laravel. in addition to ...
0
votes
1
answer
23
views
Laravel Inertia Templating Issue
I've worked with Laravel and Angular before in a headless fashion where I was just building API endpoints with Laravel and consuming those with an Angular front-end but it was a few years ago. I've ...
0
votes
1
answer
46
views
HTML Elements in Laravel
Currently I am pulling product information & HTML elements from the database, I have used {!! !!} to display unescaped data.
This works on web browsers, however in the ios & android ...
0
votes
3
answers
102
views
How to redirect based on the previous routes in laravel
There are two ways to delete a post in my app:
way 1:
urls:
/ -> posts/{post} -> posts/{post}
names:
home -> posts.show -> posts.destroy
way 2:
urls:
/posts -> /posts/{post} -> posts/...
0
votes
1
answer
72
views
I keep getting this error "Cannot access offset of type string on string" whenever I try to serve dummy data to my Laravel application [closed]
I am trying to serve some data to my view. However, when i try to access the elements in my dummy array, i keep getting an error "Cannot access offset of type string on string". And I don't ...
0
votes
0
answers
13
views
Echoing from .jsx into Blade file. ReactJS & Vite
I've got a weird problem where I'm transferring blade.php code into .jsx, and in Blade, PHP's echo {{asset()}} and Blade's @ syntaxed code is referred to a lot.
How would I go about putting it inside ....
2
votes
1
answer
74
views
Handling Nullable Numeric Inputs in Livewire Components
I'm working with Livewire components in a Laravel application, and I'm encountering issues when handling nullable numeric inputs (e.g., integers, floats). Specifically, when a user clears a numeric ...
0
votes
0
answers
36
views
How can i concatenate (dropzone.js) front chunk file with laravel controller
@section('css')
<link href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.css" rel="stylesheet">
@endsection
@section('content')
<h1>File ...
-6
votes
0
answers
34
views
How can I create a laravel project using PHP storm and how can I use the laravel libraries like auth and PHP spreadsheet in PHP storm
Im working on a laravel project but I want to know how to work with PHP storm like making sure the laravel/UI package and PHP spreadsheet libraries are incorporated
I tried importing a project I did ...
0
votes
1
answer
48
views
Livewire 3 - Month picker / Datepicker Not Fired when using component lazy
My project using livewire 3 has a slight problem that occurs when my component uses lazy components.
<livewire:report lazy />
When I don't use lazy, monthpicker and datepicker don't have ...