sharedhosting aun artisan command code example
Example: clear cache without using composer in laravel 8
Route::get('/clear-cache', function() {
$exitCode = Artisan::call('cache:clear');
// return what you want
});
Route::get('/clear-cache', function() {
$exitCode = Artisan::call('cache:clear');
// return what you want
});