In this tip Matt Stauffer demonstrates how vastly improved the environment detection and environmental variables are in Laravel 5.
Simple, easy, powerful. And this will completely invalidate all of my blog posts, workarounds, and complaints about environment detection in Laravel. Now it’s simple to define your environment name and your environment variables in a single, consistent, predictable manner.
And all of the developers rejoice!