Skip to content

alireaza/dot-env-resolver-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dot Env Resolver Commands

Install

Via Composer

$ composer require alireaza/dot-env-resolver-commands

Usage

use AliReaza\DotEnv\DotEnv;
use AliReaza\DotEnv\Resolver\Commands;

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

License

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