LaravelPackages.net
Acme Inc.
Toggle sidebar
lyal/checkr

A PHP client for checkr.io, a background screening service

26.990
11
0.14
About lyal/checkr

lyal/checkr is a Laravel package for a php client for checkr.io, a background screening service . It currently has 11 GitHub stars and 26.990 downloads on Packagist (latest version 0.14). Install it with composer require lyal/checkr. Discover more Laravel packages by lyal or browse all Laravel packages to compare alternatives.

Last updated

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

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' => '[email protected]'])->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
Comments