laravel artisan clear cache
snippet in php

laravel artisan clear cache

user3266

//Updated Dec 2020
//laravel artisan clear cache 
php artisan view:clear 
php artisan cache:clear
php artisan route:clear
php artisan config:clear

laravel clear cache

user3107

php artisan cache:clear
php artisan route:clear
php artisan config:clear 
php artisan view:clear 

laravel artisan clear cache

user5303

//laravel artisan clear cache 
php artisan view:clear 
php artisan cache:clear
php artisan route:clear
php artisan config:clear

clear all laravel cache

user2468

/**[SAFE] Clears all cache with 1 line!**/ 
php artisan route:clear &&  
php artisan view:clear && 
php artisan config:clear &&
php artisan cache:clear && 
php artisan clear-compiled

laravel fix cache

user1364

php artisan cache:clear

clear cache in laravel without artisan

user8875

 Route::get('/route-cache', function() {
     $exitCode = Artisan::call('route:cache');
     return 'Routes cache cleared';
 });