Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alireaza/dot-env-resolver-commands
- Owner: alireaza
- License: mit
- Created: 2021-12-30T01:41:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T05:58:15.000Z (almost 3 years ago)
- Last Synced: 2024-11-18T06:41:04.793Z (about 1 month ago)
- Topics: composer, dot-env, dotenv, env, environment, php
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.