1//laravel artisan clear cache
2php artisan view:clear
3php artisan cache:clear
4php artisan route:clear
5php artisan config:clear
1//Updated Dec 2020
2//laravel artisan clear cache
3php artisan view:clear
4php artisan cache:clear
5php artisan route:clear
6php artisan config:clear
1/**[SAFE] Clears all cache with 1 line!**/
2php artisan route:clear &&
3php artisan view:clear &&
4php artisan config:clear &&
5php artisan cache:clear &&
6php artisan clear-compiled
1php artisan cache:clear
2php artisan view:clear
3php artisan route:clear
4php artisan clear-compiled
5php artisan config:cache
6
1before change:
2php artisan cache:clear
3php artisan config:clear
4php artisan route:clear
5after change:
6php artisan config:cache
7php artisan route:cache
8php artisan optimize
1//Laravel 7 / 2021-01
2php artisan cache:clear
3php artisan route:clear
4php artisan config:clear
5php artisan optimize