PHP code example of zyberware / var-manager

1. Go to this page and download the library: Download zyberware/var-manager 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/ */

    

zyberware / var-manager example snippets


$vars = new \ZyberWare\VarManager();
$vars->setDay('Friday');
$vars->setConfig('main', $mainConfig);
$vars->setConfig('db', $dbConfig);

var_dump(
    $vars->getDay(),
    $vars->getConfig('main'),
    $vars->getConfig('db')
);