After updating the .env file, php artisan config:cache should be automatically run to reflect the changes inside the code. Or at least a flag to choose if you want to do so after updating.

Auto refresh config cache after .env update

3 total votes