Answers for "clear cache using laravel controller"

PHP
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 cache using laravel controller"

Browse Popular Code Answers by Language