Answers for "why to clear the cache in the Laravel"

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
1

clear cache without using composer in laravel 8

Route::get('/clear-cache', function() {
    $exitCode = Artisan::call('cache:clear');
    // return what you want
});
Posted by: Guest on January-10-2021

Code answers related to "why to clear the cache in the Laravel"

Browse Popular Code Answers by Language