承接 aronkerr/checkr 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aronkerr/checkr

Composer 安装命令:

composer require aronkerr/checkr

包简介

OOP wrapper for the Checkr web service

关键字:

README 文档

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

Links

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-07-25