Laravel vérifie si l'environnement est la production

@env(['production'])
    // The application is running in "staging" or "production"...
@endenv
Undefined