Answers for "clear app cache in laravel from controller"

PHP
16

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 using laravel controller

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 "clear app cache in laravel from controller"

Browse Popular Code Answers by Language