laravel clear cache without artisan code example

laravel clear cache without artisan

1

1 Example

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

Other Code Examples