Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 522 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 522 Bytes

marko/env

Environment variable loading — reads a .env file into $_ENV at boot so config files can read it with Marko\Config\Env.

Installation

composer require marko/env

Quick Example

use Marko\Env\EnvLoader;

$envLoader = new EnvLoader();
$envLoader->load(__DIR__);

The global env() helper was removed in Marko 0.9.0; read values with Marko\Config\Env instead.

Documentation

Full usage, API reference, and examples: marko/env