承接 reactmore-tech/mayar-php-sdk 相关项目开发

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

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

reactmore-tech/mayar-php-sdk

最新稳定版本:1.2.0

Composer 安装命令:

composer require reactmore-tech/mayar-php-sdk

包简介

About [unofficial] Mayar.id Payment API Client for PHP | https://mayar.id

README 文档

README

Latest Version MIT Licensed Total Downloads

Account

You need api key to used this API register in Mayar.id

Installation

composer require reactmore-tech/mayar-php-sdk

Usage

require 'vendor/autoload.php';

$mayarId = new \ReactMoreTech\MayarHeadlessAPI\MayarProvider();
$mayarId->setProduction(false);
$mayarId->apiToken("xxxx");
$mayarId->webhookToken("xxxxxx");

OR

$mayarId = new \ReactMoreTech\MayarHeadlessAPI\MayarProvider([
  'apiToken' => "xxxxxxxxxxxxx",
  'webhookToken' => "xxxxxxxxxxx",
  'isProduction' => false,
]);

Mayar Headless API Example Method in WIKI

See Example on WIKI:

  • Product
  • Invoice
  • Request Payment
  • Installment
  • Discount & Coupon
  • Cart (No Realease yet from api)
  • Customer
  • Transaction
  • Webhook
  • Software License Code
  • SaaS Membership License

Note that this repository is currently under development, additional classes and endpoints being actively added.

Contributions

We welcome community contributions to this repository. Please refer to the contribution guidelines to get started.

Licensing

Licensed under the MIT license. See the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

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