https://github.com/alireaza/dot-env
Dot Env
https://github.com/alireaza/dot-env
composer dot-env dotenv env environment php
Last synced: about 1 month ago
JSON representation
Dot Env
- Host: GitHub
- URL: https://github.com/alireaza/dot-env
- Owner: alireaza
- License: mit
- Created: 2021-12-22T18:18:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T05:45:54.000Z (over 4 years ago)
- Last Synced: 2025-10-10T22:12:05.746Z (8 months ago)
- Topics: composer, dot-env, dotenv, env, environment, php
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.