PHP code example of fork-lyal / checkr

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

    

fork-lyal / checkr example snippets



use Lyal\Checkr\Client;

$client = new Client('insert_checkr_api_key_here');

/**
 * Create a new user and send them an invitation
 */

$client->candidate(['email' => '[email protected]'])->create()->invitation(['package' => 'tasker_pro'])->create();