Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.8] Add app()->isProduction helper and tests #28602
Do you think it's helpful to support environment aliases? For example, if
I experience one case in Symfony Framework. I have to use dev, test and prod environments. Some developers may prefer these values. But if these aliases are used in Laravel, all methods isProduction(), isLocal() and runningUnitTests() don't work properly.