alireaza/dot-env

This is DotEnv package.

Fund package maintenance!
Linkedin

1.3.0 2022-03-06 05:45 UTC

This package is auto-updated.

Last update: 2023-01-06 07:48:28 UTC


README

Install

Via Composer

$ composer require alireaza/dot-env

Usage

use AliReaza\DotEnv\DotEnv;

$env = new DotEnv('.env');
$env->toArray(); // Array of variables defined in .env

License

The MIT License (MIT). Please see License File for more information.