1//laravel artisan clear cache
2php artisan view:clear
3php artisan cache:clear
4php artisan route:clear
5php 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
1//Laravel 7 / 2021-01
2php artisan cache:clear
3php artisan route:clear
4php artisan config:clear
5php artisan optimize
1php artisan cache:clear
2php artisan view:clear
3php artisan route:clear
4php artisan config:clear
1php artisan view:cache
2php artisan cache:cache
3php artisan route:cache
4php artisan config:cache