clear configuration in laravel withou cls code example
Example: config clear without artisan
Route::get('/clear-config', function() {
$exitCode = Artisan::call('config:clear');
// return what you want
});
Route::get('/clear-config', function() {
$exitCode = Artisan::call('config:clear');
// return what you want
});