PHP code example of omisai / php-identigo

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

    

omisai / php-identigo example snippets


use Omisai\Identigo\Configuration;
use Omisai\Identigo\Api\AuthenticationApi;

// Initialize configuration
$config = new Configuration();
$config->setAccessToken('your-api-token');

// Create API client
$authApi = new AuthenticationApi(null, $config);

// Make API calls
$response = $authApi->getTokenByHash($request);
bash
composer