Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alireaza/dot-env-resolver-variables
Dot Env Resolver Variables
https://github.com/alireaza/dot-env-resolver-variables
composer dot-env dotenv env environment php
Last synced: 29 days ago
JSON representation
Dot Env Resolver Variables
- Host: GitHub
- URL: https://github.com/alireaza/dot-env-resolver-variables
- Owner: alireaza
- License: mit
- Created: 2021-12-30T01:25:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T05:53:33.000Z (almost 3 years ago)
- Last Synced: 2024-12-03T23:45:32.808Z (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 Variables
## Install
Via Composer
```bash
$ composer require alireaza/dot-env-resolver-variables
```## Usage
```php
use AliReaza\DotEnv\DotEnv;
use AliReaza\DotEnv\Resolver\Variables;$env = new DotEnv('.env', [
new Variables($_SERVER + $_ENV),
]);
$env->toArray(); // Array of variables defined in .env
```## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.