PHP code example of 403studio / support

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

    

403studio / support example snippets


use Support\Collection;

$arr = array('id' => 1, 'name' => 'hao.huang');
$collection = new Collection($arr);
echo $collection['id'];
echo $collection->id;
echo $collection->get('id');