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

PHP
15

laravel clear cache

php artisan cache:clear
php artisan route:clear
php artisan config:clear 
php artisan view:clear
Posted by: Guest on March-30-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
0

clear cache in laravel without artisan

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

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
});
Posted by: Guest on April-27-2021

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

Browse Popular Code Answers by Language