PHP code example of willem / json-code

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

    

willem / json-code example snippets


use JsonCode\JsonCodeInfo;

m",
    'age'=>"30",
    'qq'=>"[email protected]",
];
echo JsonCodeInfo::apply(true,$data,'success');