evans-wanguba/kcb-bank-buni-api
Composer 安装命令:
composer require evans-wanguba/kcb-bank-buni-api
包简介
This is a PHP package for handling KCB Bank Buni web service integration
README 文档
README
This is a PHP package for KCB Bank Buni web service integration. Buni is designed for the modern innovator. Developers can now leverage on the KCB API to offer their customers a seamless digital experience on their platforms. Buni helps you integrate a unified payment system onto your website or app, allowing customers to easily pay for your product or service. For more information, check out KCB Buni API Guide.
Installation
Pull in the package through Composer.
composer require evans-wanguba/kcb-bank-buni-api
Create the following variables in your .env file.
BUNI_ACCESS_TOKEN=AccessToken BUNI_ENV=sandbox
Supported API Services
- BancAssuranceFileService
- FundsTransferAPIService
- MpesaExpressAPIService
- MpesaTransactionInfo
- QueryCoreTransactionStatus
- ValidateExternalBill
- VendingGatewayApis
Usage
To make a fund transfer request is simple. Just initiate the BuniApi and post the transaction:
use EvansWanguba\KcbBank\BuniApi; require "vendor/autoload.php"; // FundsTransferAPIService $buni = new BuniApi(); $fundsTransferParams = [ "beneficiaryDetails" => "JOHN DOE", "companyCode" => "KE0010001", "creditAccountNumber" => "1279287799", "currency" => "KES", "debitAccountNumber" => "1279258233", "debitAmount" => 26.0, "paymentDetails" => "UT Fund withdrawal", "transactionReference" => "FT1234567890", "transactionType" => "IF", "beneficiaryBankCode" => "01" ]; $buni->postFundsTransferAPIService($fundsTransferParams);
Support
See sample.php for more examples.
Or email me at ewanguba@gmail.com
evans-wanguba/kcb-bank-buni-api 适用场景与选型建议
evans-wanguba/kcb-bank-buni-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 24 次下载、GitHub Stars 达 4, 最近一次更新时间为 2024 年 08 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel buni」 「buni api」 「kcb bank api」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 evans-wanguba/kcb-bank-buni-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 evans-wanguba/kcb-bank-buni-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 evans-wanguba/kcb-bank-buni-api 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Alfabank REST API integration
Buni API Library
Laravel package for Accurate Online API integration.
A lightweight plain-PHP framework for database-backed CRUD APIs.
Shared RCX Laravel DataTables UI and configuration helpers.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-08