PHP code example of didbot / didbot-api

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

    

didbot / didbot-api example snippets


// config/app.php
'providers' => [
    ...
    Didbot\DidbotApi\ApiServiceProvider::class
];

use Didbot\DidbotApi\Traits\HasDids;

class User
{
    use HasDids;

    // ...
}