Ed Zynda

Coder | Hacker | Superhero

Simplify PHP Configs With Environment Variables

Posted on · Tagged in

Laravel 5 and above icludes a cool feature to help simplify configuration and deployment to different environments. Before you had to create separate directories within ‘app/config’ to separate configuration based on the environment. You would then use varying methods to tell Laravel which environment it was in a bootstrap file. This can get pretty messy real quick epecially if you are adding third party libraries that may require some special configuration options.…

Read more »
Subscribe to my newsletter and get a free copy of my book, Aspect Oriented Programming in PHP.