Answers for "laravel artinsan remove all cache"

PHP
1

laravel artisan clear cache

//laravel artisan clear cache 
php artisan view:clear 
php artisan cache:clear
php artisan route:clear
php artisan config:clear
Posted by: Guest on June-04-2020
0

clear cache in laravel without artisan

Route::get('/route-cache', function() {
     $exitCode = Artisan::call('route:cache');
     return 'Routes cache cleared';
 });
Posted by: Guest on July-13-2020

Browse Popular Code Answers by Language