larave 5.8 multiple environment .env files 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
}