定制 icode/geepay-laravel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

icode/geepay-laravel

最新稳定版本:v1.0.0

Composer 安装命令:

composer require icode/geepay-laravel

包简介

Laravel SDK for the Geepay Gateway

README 文档

README

A Laravel package for integrating with the Geepay Gateway. Supports Mobile Money Collections, Disbursements, Hosted Checkout, and Access Token Management.

👤 Author

🙋 Support

For issues, bugs, or feature requests, please open an issue on GitHub:

https://github.com/Malemelo/geepay-laravel/issues

📦 Installation

Install via Composer:

composer require icode/geepay-laravel

Publish the configuration file:

php artisan vendor:publish --tag=config

⚙️ Configuration

Add the following environment variables in your .env file:

GEEPAY_BASE_URL=https://gateway.mygeepay.com
GEEPAY_CLIENT_ID=your_client_id
GEEPAY_CLIENT_SECRET=your_client_secret
GEEPAY_CALLBACK_URL=https://yourapp.com/api/geepay-callback

The config file will be published to config/geepay.php.

HOW TO USE THE PACKAGE

use Geepay\Facades\Geepay;

// Get token
$token = Geepay::auth()->generateAccessToken();

// Disbursement
$response = Geepay::disburse()->disburse($token, '260972439891', 100, 'Test pay', uniqid());

// Collection
$response = Geepay::collect()->requestToPay($token, '260972439891', 1000, uniqid());

// Checkout
$response = Geepay::checkout()->createSession($token, 1000, 'ORD-123', 'Nagato', 'nagato@example.com', uniqid());

🧰 Requirements

PHP >= 8.0

Laravel >= 8.x

Guzzle HTTP Client

📄 License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-02