PHP code example of aetah / jrd

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

    

aetah / jrd example snippets




declare(strict_types=1);

use Aetah\Jrd\Service\JrdParser;
use Aetah\Jrd\Service\JrdSerializer;

$parser = new JrdParser();
$serializer = new JrdSerializer();

$jrd = $parser->parseJson('{"subject":"acct:[email protected]"}');

$json = $serializer->toJson($jrd);
bash
composer analyse
bash
composer clean