ben/banker_php
Composer 安装命令:
composer require ben/banker_php
包简介
An online payment integration package making use of flutter wave api
README 文档
README
A PHP package that help payment integration using flutterwave's Rave API
Get Started
to get started with banker_php, Start by creating a flutterwave accout. Click here to create an account
install package
install bankw=er_php via composer.
run on your terminal
composer require ben/banker_php
API keys
API keys to access the flutterwave rave API can be gotten at the flutter wave's dashboard. After Signing in to ypiu account, go to settings->API read more
.env
API keys should be stored be stored in the a .env file in the src directory.
Card bin verification
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
getCardbin(<bin>)
and pass in the argument of the card bin
BVN verification
to verify BVN via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
get_bvn(<bvn>)
and pass BVN as the argument
Note: this will require a charge of N50
Get all banks
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
getBanks(<country_code>)
and pass in the country code as an argument
e.g NG for Nigeria.
it's set to NG b default.
Account verification
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
getAccount(<accout_no>, <bank>)
and pass in the account number as the first argument, and the bank code or the bank name as the secound argument
Card payments
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\Payment;
then call for the function
new Payment
cardPaymet(<payment details>)
and pass in the payment details as an argument
Post OTP
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\Payment;
then call for the function
new Payment
postOTP(<otp>)
and pass in the otp as an argument
ben/banker_php 适用场景与选型建议
ben/banker_php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 5, 最近一次更新时间为 2020 年 07 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ben/banker_php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ben/banker_php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: 0BSD
- 更新时间: 2020-07-23