PHP code example of usox / hacore

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

    

usox / hacore example snippets


$reader = new \Usox\Hacore\Reader();
$reader->load('path-to-config.json')

$reader->getLeaf('foo'); // returns 'bar'
$reader->getLeaf('barfoo'); // returns '666'
$reader->getBranch('more'); // returns a new Reader instance