Answers for "clear all cache laravel without artisan"

PHP
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 "clear all cache laravel without artisan"

Browse Popular Code Answers by Language