digikraaft/zeeh-php
Composer 安装命令:
composer require digikraaft/zeeh-php
包简介
PHP Implementation of Zeeh API
关键字:
README 文档
README
This package provides an expressive and convenient way to interact with the Zeeh API.
Installation
You can install the package via composer:
composer require digikraaft/zeeh-php
Usage
All APIs documented in Zeeh's API Reference are currently supported by this package.
Authentication
Before using any of the available methods, ensure to set the public and private keys of your app. You can get this from the Zeeh's dashboard.
<?php
include_once('vendor/autoload.php');
use Digikraaft\Zeeh\Zeeh;
Zeeh::setPrivateKey('privk_1234abcd');
Zeeh::setPublicKey('pubk_1234abcd');
Available Methods
A list of the available methods are documented below:
Account
all() : Array|Object- Gets all accounts available for a particular institutionauthorize(string $accountId) : Array|Object- Authorize a Customer for transactionsdetails(string $accountId) : Array|Object- Gets a particular account in a financial institutionidentity(string $accountId) : Array|Object- Obtains customer detailssync(string $accountId) : Array|Object- Make a request for a data sync operation
Bvn
advancedLookUp(string $bvn) : Array|Object- Generates user data from BVNsimpleLookUp(string $bvn) : Array|Object- Generates user data from BVNverifySelfie(string, $bvn, string $base64ImageString) : Array|Object- Perform selfie verification using a valid BVN
Cac
advancedLookUp(string $rcNumber) : Array|Object- Fetch and verify SMEs, corporate organizations and individuals using Corporate Affairs Commission (CAC)simpleLookUp(string $rcNumber) : Array|Object- Fetch and verify SMEs, corporate organizations and individuals using Corporate Affairs Commission (CAC)
DriverLicense
lookUp(string $licenseNumber) : Array|Object- Lookup and verify Driving License
Nin
lookUp(string $nin) : Array|Object- Fetch and verify customers details using National Identification Number NINverifySelfie(string, $nin, string $base64ImageString) : Array|Object- Perform selfie verification using NIN
Nuban
lookUp(string $bankAccountNumber) : Array|Object- Generate user data from the Nuban
Passport
lookUp(string $passportNumber, string $lastName, string $firstName, string $dateOfBirth) : Array|Object- Verify an international passport
PhoneNumber
advancedLookUp(string $phoneNumber) : Array|Object- Get advanced details of a phone numbersimpleLookUp(string $phoneNumber) : Array|Object- Get details of a phone number
Tin
lookUp(string $taxIdentificationNumber) : Array|Object- Verify Tax Identification Number
Transaction
list(string $accountId) : Array|Object- Fetch transactions connected to an accountfetchStatement(string $accountId, int $period) : Array|Object- Fetch transactions connected to an account filtered by period
Vin
lookUp(string $vin, string $state, string $lastName) : Array|Object- Verify Voter's Identification Number
Zeeh
getPrivateKey(): stringgetPublicKey() : stringsetPrivateKey(string $privateKey)- Set your Zeeh Private KeysetPublicKey(string $publicKey)- Set your Zeeh Public KeywalletBalance() : Array|Object- Fetch current balance in your Zeeh wallet
This package returns the exact response from the Zeeh's API but as the stdClass type.
Testing
composer test
More Good Stuff
Check here for more awesome free stuff!
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email hello@digikraaft.ng instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
digikraaft/zeeh-php 适用场景与选型建议
digikraaft/zeeh-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 09 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「digikraaft」 「zeeh-php」 「Zeeh」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 digikraaft/zeeh-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 digikraaft/zeeh-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 digikraaft/zeeh-php 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Implementation of Mono API
PHP Implementation of Paystack API
A simple interface to Paystack's subscription billing services. It takes the pain of implementing subscription management off you.
PHP Implementation of abokiFX API
A tile to show list of Stripe Payments on Laravel Dashboard
A tile to show list of Stripe Customers on Laravel Dashboard
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-07