PHP code example of do-inc / laravel-persona-kyc

1. Go to this page and download the library: Download do-inc/laravel-persona-kyc 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/ */

    

do-inc / laravel-persona-kyc example snippets


\Doinc\PersonaKyc\Persona::init()->accounts()->create("my-account-reference-id");

$account = \Doinc\PersonaKyc\Persona::init()->accounts()->create("1234");
bash
php artisan vendor:publish --tag="persona-kyc-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="persona-kyc-config"