8000 GitHub - vasunaman/checkr: PHP SDK for the Checkr Background Service
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vasunaman/checkr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkr for PHP

A simple PHP package for interacting with the www.checkr.com's API (documentation at https://docs.checkr.com/), focusing on ease of use.

Requirements

PHP 7.1+

Installation

composer require lyal/checkr
add Lyal\Checkr\Laravel\CheckrServiceProvider::class, to config/app.php
then 
php artisan vendor:publish --provider="Lyal\Checkr\Laravel\CheckrServiceProvider"

Basic Usage

<?php
use Lyal\Checkr\Client;

$client = new Client('insert_checkr_api_key_here');

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

$client->candidate(['email' => 'john.doe@johndoe.com'])->create()->invitation(['package' => 'tasker_pro'])->create();

Environment Variables

There are several helpful environment variables. In order for the API testing package to work, you must set checkr_test_key either with the environment variable checkr_test_key or in PHPUnit's XML file.

checkr_api_key = 'xxxxxxxxxxx'
checkr_test_key = 'xxxxxxxxxxxx'
use_collections = true

About

PHP SDK for the Checkr Background Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%
0