Answers for "laravel 5 reload env variables"

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

Browse Popular Code Answers by Language