承接 vnpost/bankhub 相关项目开发

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

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

vnpost/bankhub

最新稳定版本:1.0.3

Composer 安装命令:

composer require vnpost/bankhub

包简介

A Laravel package for BankHub API integration

README 文档

README

A PHP package for BankHub API integration.

Author

Kiên Nguyễn

Installation

To install the package, run the following command:

composer require vnpost/bankhub

Configuration

Step 1: Publish Configuration

Publish the configuration file using the following command:

php artisan vendor:publish --provider="BankHub\BankHubServiceProvider"

Step 2: Update .env File

Add the following variables to your .env file:

BANKHUB_MODE=sandbox
BANKHUB_CLIENT_ID=your-client-id
BANKHUB_SECRET_KEY=your-secret-key

Step 3: How to use?

Option 1:

use BankHub\BankHubClient;

$response = BankHubClient::AuthCode('your-authorization-code')->grantToken($data);

Option 2:

use BankHub\BankHubClient;

$client = new BankHubClient();
$client->AuthCode('your-authorization-code');
$response = $client->grantToken($data);

Option 3:

use BankHub\BankHubClient;

$client = new BankHubClient('your-authorization-code');
$response = $client->grantToken($data);

List of available functions

  1. grantToken
  2. grantExchange
  3. grantInvalidate
  4. grantRemove
  5. Identity
  6. Balance
  7. Transactions
  8. QrPay

Chi tiết xem tại https://bankhub.dev/general/api

License

This package is open-sourced software licensed under the Apache-2.0 license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2024-08-09