brixms/yii2-phpdotenv

Yii2 extension for .env / Dotenv / env() / getenv()

Maintainers

Package info

github.com/brixms/yii2-phpdotenv

Type:yii2-extension

pkg:composer/brixms/yii2-phpdotenv

Statistics

Installs: 414

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.0.1 2016-12-16 11:32 UTC

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

  1. composer require brixms/yii2-phpdotenv
  2. edit index.php or your yii entry points to include Dotenv (after autoload has been required):

(new \Dotenv\Dotenv("your full .env file location"))->overload();