To run a Laravel 11 application with Vite on a local Laravel Valet server you need an update to your vite.conf.js to load the site…
Category: Laravel
Developing locally I got into issues with Laravel Fortify 2 factor authentication. I often got an error caching issue related to the two factor authentication…
When working with multiple databases in Laravel, you may encounter issues where additional databases are missing migration tables. This causes problems when running php artisan migrate and php…
When working with web applications, it’s common to store complex data structures as JSON strings in databases. This approach is particularly useful when you need…
When using PHP Deployer for zero-downtime deployments, you might encounter a frustrating issue where Nginx continues serving cached content from previous releases instead of loading…
If you need to increate the PHP processes such as maximum number of children, servers, spare servers or requests you can do this from the…
Just had an app die on me locally because the mail settings were outdated. Laravel Valet hit a Nginx 504 timeout error. When I checked…
If you work with Laravel caching to store queries in the Redis database you may want to every now and then check how the keys…
To check whether post deployment or post php artisan config:cache the configuration has been truly cached you can look up the cache in your application…
To test a method show()as part of a controller in PHP Artisan Tinker you have to make sure the controller is loaded and or the…
To use a next and previous button to run through items you store in a database by ID you can use a simple controller, view…
If you see this error when working on Windows 10 with composer or another .bat file of sorts setting up Laravel Homestead: ‘rm’ is not…