Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to manually remove cache in laravel

//You can call an Artisan command outside the CLI.

Route::get('/clear-cache', function() {
    $exitCode = Artisan::call('cache:clear');
    // return what you want
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #manually #remove #cache #laravel
ADD COMMENT
Topic
Name
4+6 =