PHPackages                             zhangdi/yii2-env - 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. zhangdi/yii2-env

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

zhangdi/yii2-env
================

The env extension for Yii2

0.1.1(6y ago)043BSD-3-ClausePHPPHP &gt;= 7.0

Since Aug 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zhangdi/yii2-env)[ Packagist](https://packagist.org/packages/zhangdi/yii2-env)[ RSS](/packages/zhangdi-yii2-env/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Env extension for Yii 2
=======================

[](#env-extension-for-yii-2)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist zhangdi/yii2-env

```

or add

```
"zhangdi/yii2-env": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

```
