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

Dot Env
https://github.com/alireaza/dot-env

composer dot-env dotenv env environment php

Last synced: 11 days ago
JSON representation

Dot Env

Awesome Lists containing this project

README

        

# Dot Env

## Install

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

## Usage

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