brixms/yii2-phpdotenv

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

Installs: 412

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

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

This package is not auto-updated.

Last update: 2025-06-22 00:26:27 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();