Answers for "laravel cache clear forget"

PHP
15

laravel clear cache

php artisan cache:clear
php artisan route:clear
php artisan config:clear 
php artisan view:clear
Posted by: Guest on March-30-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