60,852 questions
0
votes
0
answers
70
views
Illuminate\Contracts\Container\BindingResolutionException: Target class [admin] does not exist when accessing /admin/users in Laravel with Filament
I’m working on a Laravel 12.17 + Filament v3 project. I installed Filament using:
./vendor/bin/sail artisan filament:install --panels
Then i generated a resource with:
./vendor/bin/sail artisan make:...
1
vote
0
answers
72
views
Allow Cross Origin in Laravel 4.2
I am working on a legacy project which uses Laravel 4.2 for the backend API and angular for the frontend. When I make the login request in local pc I am seeing CORS error in developer tool network tab....
-2
votes
2
answers
106
views
Eloquent query returning null when using a variable
I am having a issue where when i write out a eloquent query using a variable it is returning NULL but if i write out that variable value in text it returns data.
This is my code
$code = 'Test123';
...
0
votes
1
answer
24
views
Using array in where clause IN( ) Laravel
I am trying to use an array in the WHERE clause with IN () in Laravel, but it's not working as expected. Here’s my current code:
$groupOfTopics = [46, 51, 167, 176, 177, 181, 185, 270, 323, 328, 350];
...
0
votes
0
answers
104
views
Laravel Mix error with resolve.extensions when building Fomantic UI
I'm trying to resurrect an older Laravel project (5.8.38) that used Semantic UI for styling the user interface. Since Semantic UI is no longer being developed, I'm also switching to Fomantic UI. I'd ...
1
vote
0
answers
29
views
PHP Laravel AWS RDS Maria DB Conenction Issue
Facing some issue regarding the connectivity of PHP/Laravel application from host machine EC2 to managed AWS RDS Mariadb instance.
When connecting from Laravel app though .env (db settings) it return ...
0
votes
0
answers
19
views
Laravel Custom Auth in registering
I am building Laravel 5.4 and AngularJS to build login rester and logout user. It is not working and I don't know why. I am a beginner to Laravel.
If I send request via remember token then how to ...
0
votes
2
answers
2k
views
Schedule in Laravel 11
We are facing an issue with Laravel scheduled tasks using the call method in Kernel.php not executing as expected in development mode on Windows. When running php artisan schedule:work, it only ...
2
votes
2
answers
53
views
Request for How to Handling if Command in Relationship Handling
Request for How to Handling if Command in Relationship Handling
Hello, good day Artisan,
Please, I need help with an if command not working for a relationship. I want to get the correct relationship ...
0
votes
1
answer
108
views
Why the first call to ::create() method will not set the id field on the model in Laravel?
I use Laravel 5.5 and October CMS 1.0 with MySQL 5.6 database and PHP 7.4.
I have several models with integer autoincrement id keys.
The model's default settings are left intact—I didn't change any of ...
0
votes
0
answers
79
views
How to Login using the Middleware 'auth'?
I'm having problems with the authentication because in the following methods when it entries to the authenticate method, I receive True in my validation Log::info("", ['authenticated' => ...
-1
votes
1
answer
86
views
Error “foreach() argument must be of type array|object” in laravel controller
During comments show in the post
Error “foreach() argument must be of type array|object” in laravel controller
The code is as under
Blade File
@foreach($comment->product_images as $image)
<a ...
1
vote
0
answers
45
views
Override Cookie constructor in laravel 5.5 to allow rendering site inside an iFrame
Laravel 5.5 will only accept lax, strict or null as sameSite options when setting a cookie and will throw and exception if it is not one of these - before you ask I am stuck with laravel 5.5 for now.
...
0
votes
1
answer
109
views
Laravel Powergrid Table Add Loading on Pagination
I'm fairly new to Laravel, and I'm using PowerGrid to display an employee table. The skeleton loading works fine when the page initially loads, but I would like to add the loading animation when ...
1
vote
1
answer
86
views
Why are session tokens and form tokens different laravel? [closed]
Why are session tokens and form tokens different in Laravel?
Added to file:
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
protected function tokensMatch($...