PHP code example of maks / envparser
1. Go to this page and download the library: Download maks/envparser 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/ */
maks / envparser example snippets
MyENV::load();
MyENV::get('Env.env');
MyENV::get('Env');
MyENV::get('Env')['key'];
MyENV::getAllEnv();
MyENV::$optionsKeyValueDelimiter = "=";
MyENV::$optionsComment = "#";
MyENV::$optionsChangeValuesType = true/false;