Answers for "laravel set custom env file on serve command line"

PHP
2

laravel commands to refresh env file

// NOTE: Five most important commands if your Laravel is not working
//	     as expected after some modifications in .env or database folder

php artisan config:clear
php artisan cache:clear
composer dump-autoload
php artisan view:clear
php artisan route:clear
Posted by: Guest on January-27-2021
2

laravel generate env

cp .env.example .env
php artisan key:generate
Posted by: Guest on October-06-2021

Code answers related to "laravel set custom env file on serve command line"

Browse Popular Code Answers by Language