how get config env in laravel code example
Example: laravel APP_ENV config
if (\Illuminate\Support\Facades\App::environment('production')) {
// The environment is production
}
if (\Illuminate\Support\Facades\App::environment('production')) {
// The environment is production
}