How put sessions in Laravel 11 api routes?
How are you guys?
In Laravel 11 how many do I try to put sessions for the shop’s cart by Api routes, the sessions don’t store!
Do you Have a solution for it?
even in Laravel 11 kernel.php removed!
now for the cart’s session should I use a route in web.php?
Laravel 11 Uncaught BadMethodCallException: Method IlluminateFoundationApplication::configure
Getting an error
How can I link storage properly when “public” folder is renamed to “public_html”?
I am having trouble linking my storage folder correctly using “php artisan storage:link”
Laravel 11 Policy implementation
I am new to Laravel and am struggling to implement a simple Policy 🙂
Laravel, how to implement the model resolution between jobs like we do in Routing?
I have a job that is called by another job or a controller. Let’s call it CalledJob.
The calling job should be able to pass just the ID of the model and the CalledJob constructor/handle should receive the instantiated model instance.
Is Laravel Regenerating Encrypted Session and XSRF-TOKEN on Each Request (Laravel 11)?
On our Laravel 11 application, the encrypted XSRF-TOKEN and laravel_session are regenerated and set on every request with different values. Is this expected?
mon projet laravel ne souvre as dans le navigateur
( ! ) Avertissement : Inconnu : Échec de l’ouverture du flux : Aucun fichier ou répertoire de ce type dans Inconnu à la ligne 0
fetch API with PUT method gives error 419
I’ve been using the fetch
API for a long time with POST
like so:
laravel 11: Illegal offset type in file …vendorlaravelframeworksrcIlluminateDatabaseEloquentModel.php on line 1271
im trying to delete a record in rejoindrecomm table that have two primary keys,
here is my function:
Laravel 11 not automatically registering policy
Laravel documentation says that laravel automatically registers policies when using correct naming and folder structure, but my policies are not registered. I have tried to view project detail with user that does not own the project and it works, but the function in policy returns false.