brixms / yii2-phpdotenv
Yii2 extension for .env / Dotenv / env() / getenv()
Package info
github.com/brixms/yii2-phpdotenv
Type:yii2-extension
pkg:composer/brixms/yii2-phpdotenv
v0.0.1
2016-12-16 11:32 UTC
Requires
- vlucas/phpdotenv: >=2.2
- yiisoft/yii2: ^2.0
This package is not auto-updated.
Last update: 2026-03-15 04:44:02 UTC
README
Package to automatically include .env via vlucas/phpdotenv in your yii2 application.
installation
composer require brixms/yii2-phpdotenv- edit
index.phpor youryiientry points to includeDotenv(after autoload has been required):
(new \Dotenv\Dotenv("your full .env file location"))->overload();