Search by

marko / env

markshust

Environment variable loading for Marko applications

0.8.5 2026-05-02 01:27 UTC

This package is auto-updated.

Last update: 2026-08-26 15:36:26 UTC


README

Environment variable loading — reads .env files and provides the env() helper with automatic type coercion.

Installation

composer require marko/env

Quick Example

use Marko\Env\EnvLoader;

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

$debug = env('APP_DEBUG'); // 'true' -> true, 'false' -> false

Documentation

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