PHP code example of nbgrp / env-bundle
1. Go to this page and download the library: Download nbgrp/env-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nbgrp / env-bundle example snippets
// config/packages/nbgroup_env.php
return static function (Symfony\Config\NbgroupEnvConfig $config): void {
$config->arrayCast()
->enabled(true)
;
$config->csv()
->enabled(true)
->delimiter('dot', '.')
->delimiter('colon', ':')
;
};
php
return [
// ...
NbGroup\Symfony\NbgroupEnvBundle::class => ['all' => true],
];