PHP code example of kilylabs / u-on-api-php

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

    

kilylabs / u-on-api-php example snippets




nt = new Kily\API\UOn\Client('<API_KEY>',[
    'timeout'=>60,
    'debug'=>true,
]);

$res = $client->request()->create([
    'r_id_internal'=>'OLOLO',
    'u_name'=>'ИВАН',
    'u_surname'=>'ИВАНОВ',
    'u_email'=>'spam@sux',
]);