Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alireaza/dot-env-resolver-commands

Dot Env Resolver Commands
https://github.com/alireaza/dot-env-resolver-commands

composer dot-env dotenv env environment php

Last synced: 11 days ago
JSON representation

Dot Env Resolver Commands

Awesome Lists containing this project

README

        

# Dot Env Resolver Commands

## Install

Via Composer
```bash
$ composer require alireaza/dot-env-resolver-commands
```

## Usage

```php
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](LICENSE) for more information.