Answers for "how to clear config cache in laravel server"

PHP
0

laravel disable config cache

php artisan cache:clear - Flush the application cache

php artisan config:cache - Create a cache file for faster configuration loading. This is for configuration cache. This command will clear the configuration cache before it creates. More details

php artisan config:clear - Remove the configuration cache file
Posted by: Guest on May-21-2020
0

clear cache in laravel without artisan

Route::get('/clear-cache', function() {
     $exitCode = Artisan::call('cache:clear');
     return 'Application cache cleared';
 });
Posted by: Guest on July-13-2020

Code answers related to "how to clear config cache in laravel server"

Browse Popular Code Answers by Language