PHP code example of helionogueir / typeboxing

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

    

helionogueir / typeboxing example snippets


use stdClass;
use helionogueir\typeBoxing\parse\ObjectToArray;
$Object = new stdClass();
$Object->d1 = new stdClass();
$Object->d1->d2 = null;
$array = (new ObjectToArray())->parse($Object);