Laravel Community Tools by Tighten

ashwin-sureshkumar

Joined: 12 years ago
Total tricks: 1
Last trick: 12 years ago

Submitted tricks

To setup configuration according to each environment you can set environmental variables. In this below example I am setting up an environmental variable "LARAVEL_ENV" with below values. staging as LARVEL_ENV staging production as LARVEL_ENV production Then in start.php under detect environment add the below code for getting the environment. You can add config files under respective folders.
ashwin-sur... 12 years ago 9871