PHP code example of biohzrdmx / envy-php
1. Go to this page and download the library: Download biohzrdmx/envy-php 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/ */
biohzrdmx / envy-php example snippets
use Envy\Settings;
$settings = new Settings();
$settings->load( dirname(__FILE__) . '/.env' );
$app_name = $settings->get('APP_NAME');
$settings->define('APP_NAME');
echo APP_NAME; # Prints 'MyApp'
# Testing for a single option
$settings->s->