maksa988/monobank-acquiring 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

maksa988/monobank-acquiring

最新稳定版本:1.0.0

Composer 安装命令:

composer require maksa988/monobank-acquiring

包简介

README 文档

README

🇺🇦 Українською

Unofficial SDK for Monobank Acquiring. https://api.monobank.ua/docs/acquiring.html

Latest Stable Version Build Status CodeFactor Total Downloads License

Accept payments via Monobank (monobank.ua) using this SDK package for your project.

  • Invoices
  • Wallet
  • Merchant
  • QR

PHP >= 8.0

Installation

Require this package with composer.

composer require "maksa988/monobank-acquiring"

Usage

To use this package you need to do some steps:

  1. Create config with your X-Token from acquiring cabinet or test token from api cabinet
$config = new \Maksa988\MonobankAcquiring\Config("YOUR X-TOKEN HERE");

To get more details about config read Wiki

  1. Create main object of SDK to call your requests and put config in constructor
$monobank = new \Maksa988\MonobankAcquiring\MonobankAcquiring($config);
  1. Now you can use methods from SDK
$request = new \Maksa988\MonobankAcquiring\Requests\MerchantDetailsRequest();

$result = $monobank->call($request);

// $result is the Maksa988\MonobankAcquiring\Models\MerchantDetails object

$result->getMerchantName(); // "12o4Vv7EWy"
$result->getMerchantId(); // "Your Favourite Company"

To get more examples and methods use Wiki

Laravel

You can use this SDK with Laravel, just use maksa988/laravel-monobank-acquiring package instead

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please send me an email at maksa988ua@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-30