Floyk com
Edited 11 months ago

how to set up custom error pages in #laravel?
easy, execute:

                    php artisan vendor:publish --tag=laravel-errors
                  

all of the error pages will be extracted to view/errors/... folder.
You can modify them as you need 

Floyk com
Edited 11 months ago

problems with permissions in #cpanel for the newly installed #laravel app?execute this:😱

                    find /path/to/your/laravel/app -type d -exec chmod 755 {} \;
find /path/to/your/laravel/app -type f -exec chmod 644 {} \;
Floyk com
1 year ago

#laravel 9 how to add prefix to #jetstream routes? 
open config/jetsream.php and add:

                    'prefix' => 'app', // app will be prefix for all jetstream routes
                  

Igor Simic
1 year ago
Vizenzo Caponera
Edited 1 year ago
Igor Simic
1 year ago
Floyk com
2 years ago
Jason Miller
Edited 2 years ago

#laravel how to check does request contain specific POST parameter. Actually there are couple of methods we can use in this case.
Here they are in another #laraveltip

                    $request->has('eventName')

// or

$request->exists('eventName')

// or 

$request->filled('eventName')