PHP code example of apruvd / php_sdk_v3

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

    

apruvd / php_sdk_v3 example snippets


$token = $service->authenticateWithOAuth();

$service->onAccessTokenUpdate(function($token){ ... });

$token = $service->authenticateWithOAuthRefresh();
$response->code
$response->detail
$response->success
$response->validation_errors
$response->response