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 properly under your domain.test .
Laravel
Articles categorized in: 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 keys in tandem with the
Sometimes your Laravel setup misses migration tabes for additional databases and this causes issues running php artisan migrate and this also causes issues running php artisan schema:dump for that database.
To get JSON data using JavaScript for data stored as JSON string in the database you can use modules is the name for data objects here but it could of
If you want the latest content to be loaded from the latest symlinked release using PHP Deployer you need to add these lines to your Nginx PHP block After doing
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 command line Based on blog
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 the logs I saw So
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 are stored and if they
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 using ll bootstrap/cache/ total 516
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 modal in use if 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 update and take advantage of
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 recognized as an internal or