aronkerr / checkr
OOP wrapper for the Checkr web service
dev-master / 2.0.x-dev
2015-08-29 03:49 UTC
Requires
- php: >=5.3.3
- zendframework/zend-http: >=2.0.0
- zendframework/zend-inputfilter: >=2.0.0
- zendframework/zend-uri: >=2.0.0
- zendframework/zend-validator: >=2.0.0
- zendframework/zend-version: >=2.0.0
This package is not auto-updated.
Last update: 2025-03-29 21:06:44 UTC
README
Introduction
This module provides a simple wrapper for the Checkr service.
Installation
Install the module using Composer into your application's vendor directory. Add the following line to your
composer.json
.
{ "require": { "aronkerr/checkr": "dev-master" } }
Configuration
None at this point
Basic Usage
You can get the Checkr class from anywhere anywhere in your application (e.g. controller classes). The following example instantiates the Checkr class.
use AronKerr\Checkr\Checkr; public function indexAction() { $checkr = new Checkr('xxxxxxx'); // Replace with your API key }
Create Candidate
use AronKerr\Checkr\Checkr; public function indexAction() { $checkr = new Checkr('xxxxxxx'); // Replace with your API key $parameters = new Parameters(array( 'first_name' => 'Bob', 'last_name' => 'Jones', 'email' => 'bob@gmail.com', 'phone' => '123-456-7890', 'zipcode' => '97222', 'copy_requested' => 'false', 'dob' => '1986-12-08' )); $response = $checkr->createCandidate($parameters); }