Laravel cache your configurations so app execution become fast. Every time when you change your configuration on server then clear your cache. You should clear you configuration cache by following these commands:
These commands for clearing the config:
php artisan config:cache
php artisan config:clear
This command for clearing the cache:
php artisan cache:clear
This command for clearing the compiled views:
php artisan view:clear
This command for clearing the routes cache:
php artisan route:clear
If you want to run these all commands in one go:
&& For Unix-based systems like Linux, macOS:
php artisan config:cache && php artisan config:clear && php artisan cache:clear && php artisan view:clear && php artisan route:clear
& For Windows Command Prompt:
php artisan config:cache & php artisan config:clear & php artisan cache:clear & php artisan view:clear & php artisan route:clear