Getting the Environment Name in Laravel 4
…your development machine and the production environment is the server where your end users access the application. Using environments, our Laravel 4 application can automatically change to a different database server or use a different cache...