PHP code example of makbari / dot-env-editor
1. Go to this page and download the library: Download makbari/dot-env-editor 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/ */
makbari / dot-env-editor example snippets
$handler = new \makbari\DotEnvEditor\handler\Handler("Path_To_Your_Config");
$handler->add(['key' => 'value']);
bash
curl -s http://getcomposer.org/installer | php
php composer.phar