2017 © Pedro Peláez
 

library checkr

OOP wrapper for the Checkr web service

image

aronkerr/checkr

OOP wrapper for the Checkr web service

  • Saturday, August 29, 2015
  • by aronkerr
  • Repository
  • 0 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Checkr

Introduction

This module provides a simple wrapper for the Checkr service., (*1)

Installation

Install the module using Composer into your application's vendor directory. Add the following line to your composer.json., (*2)

{
    "require": {
        "aronkerr/checkr": "dev-master"
    }
}

Configuration

None at this point, (*3)

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., (*4)

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);
}

The Versions