armezit/kyc-jibit
Composer 安装命令:
composer require armezit/kyc-jibit
包简介
PHP client for the Jibit Identicator Project (KYC) API
关键字:
README 文档
README
PHP client for the Jibit Identicator Project (KYC) API
Installation
To install, simply require armezit/kyc-jibit with Composer:
composer require armezit/kyc-jibit
Usage
Create an instance of the \Armezit\Kyc\Jibit\Provider:
$provider = new \Armezit\Kyc\Jibit\Provider(); $provider->setApiKey('API_KEY'); $provider->setSecretKey('SECRET_KEY');
Execute any of the available methods. For example:
$response = $provider->matchNationalCodeWithMobileNumber([ 'nationalCode' => $nationalId, 'mobileNumber' => $mobileNumber, ])->send(); if ($response->isSuccessful() && $response->isMatched()) { // national code and mobile number matched }
Status of the project
Currently, the following methods are implemented by this package:
- Match Card Number with National Code
- Match National Code with Mobile Number
Testing
composer test
Contribute
Pull requests are welcome.
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
统计信息
- 总下载量: 244
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-14