Dependency injection library
Description
This library is just proof of concept. > We do NOT recommended the use of production environment., (*1)
Provide dependency injection, (*2)
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*3)
Install
Package is available on Packagist, you can install it using Composer., (*4)
``` bash
composer require devop-core/dotenv, (*5)
## Usage
.env
```bash
APP_DEBUG=true
APP_NAME="DevOp Studio"
APP_VERSION=null
``` php
<?php
include_once '../vendor/autoload.php';, (*6)
(new DevOp\Core\DotEnv())->load('.env')->toEnv();, (*7)
var_dump([env('APP_DEBUG'), getenv('APP_DEBUG'), env('APP_NAME')]);, (*8)
## Change log
Please see [CHANGELOG](.github/CHANGELOG.md) for more information on what has changed recently.
## Testing
``` bash
$ vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details., (*9)
License
The MIT License (MIT). Please see License File for more information., (*10)