PHP code example of konfig / dojah-php-sdk

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

    

konfig / dojah-php-sdk example snippets





ah = new \Dojah\Client(
    Authorization: "AUTHORIZATION",
    AppId: "APP_ID",
);

$profile_id = "WC7117469";

try {
    $result = $dojah->aML->getScreeningInfo(
        profile_id: $profile_id
    );
} catch (\Exception $e) {
    echo 'Exception when calling AMLApi->getScreeningInfo: ', $e->getMessage(), PHP_EOL;
}
json
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/dojah-inc/dojah-php-sdk.git"
    }
  ],
  "