There are no commands defined in the "route:clear, view:clear, config:clear, cache" 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
});