Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

clear cache in laravel without artisan

 Route::get('/clear-cache', function() {
     $exitCode = Artisan::call('cache:clear');
     return 'Application cache cleared';
 });
Source by www.w3adda.com #
 
PREVIOUS NEXT
Tagged: #clear #cache #laravel #artisan
ADD COMMENT
Topic
Name
2+1 =