Floyk com
Bearbeitet vor 7 Monaten

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
Bearbeitet vor 7 Monaten

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
vor 1 Jahr

#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
vor 1 Jahr
Vizenzo Caponera
Bearbeitet vor 1 Jahr
Igor Simic
vor 1 Jahr
Floyk com
vor 1 Jahr
Jason Miller
Bearbeitet vor 2 Jahren

#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')