Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

clear cache in laravel without artisan

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