PHPackages                             unnutz/laravel-environment-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. unnutz/laravel-environment-config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

unnutz/laravel-environment-config
=================================

Bring back environment configuration cascading to Laravel

v1.0.0(10y ago)1211MITPHP

Since Sep 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/unnutz/laravel-environment-config)[ Packagist](https://packagist.org/packages/unnutz/laravel-environment-config)[ RSS](/packages/unnutz-laravel-environment-config/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel Environment Configuration
=================================

[](#laravel-environment-configuration)

Description
-----------

[](#description)

It is often helpful to have different configuration values based on the environment the application is running in. For example, you may wish to use a different cache driver on your local development machine than on the production server. It is easy to accomplish this using environment based configuration.

Installation
------------

[](#installation)

Add dependency to your composer.json

```
    "require": {
        "unnutz/laravel-environment-config": "~1.0"
    },

```

Open `bootstrap/app.php` and update code so it will look similar to this:

```
