Exécuter la commande artisan de la route
Route::get('clear_cache', function () {
\Artisan::call('cache:clear');
dd("Cache is cleared");
});
Brave Bat
Route::get('clear_cache', function () {
\Artisan::call('cache:clear');
dd("Cache is cleared");
});