Obtenga la aplicación de la aplicación Enviravel
env('APP_URL')
Witness
env('APP_URL')
if (App::environment('local')) {
// The environment is local
}
if (App::environment(['local', 'staging'])) {
// The environment is either local OR staging...
}
if (\Illuminate\Support\Facades\App::environment('production')) {
// The environment is production
}