Laravel – testing environment file

It is often helpful to have different configuration values based on the environment the application is running in. In order to do that Laravel utilizes the DotEnv PHP library by Vance Lucas. Unfortunately Laravel considers that application can run only in one environment per server and fetches all custom configuration parameters only from .env file. If you […]