chandachewe / moneyunify
一个用于通过移动钱包收集和发放款项的 PHP Money Unify 包
v1.0.4
2023-09-19 14:02 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5
- vlucas/phpdotenv: ^5.5
Requires (Dev)
- pestphp/pest: 2.x-dev
README
一个用于支付收集和发放的 Moneyunify PHP 包
要求
- PHP >= 8.1
- MONEYUNIFY UUID MoneyUnify
安装
使用 composer require
安装包
composer require chandachewe/moneyunify
收集款项的过程非常简单。一旦下载了包,您可以按照以下步骤进行
用法
如果您正确地要求了包,现在应该会看到一个名为 vendor 的目录。如果是这样,请按以下步骤进行
1. create a file in the root directory lets name it collections.php 2. add the following in the file: <?php require('vendor/autoload.php'); use Chandachewe\Moneyunify\Collections\GetPayments; $form = new GetPayments(); $form->processForm('YOUR MONEYUNIFY UUID HERE'); echo $form->renderForm(); ?> NOTE: Dont forget to replace your MONEYUNIFY UUID in the processForm() with the one you got From MoneyUnify ; 3. Run that file and you will see a payments form. Enter details to collect payments. Thats It!!!!
版本控制
发布将按照以下格式编号
<major>.<minor>.<patch>
贡献
分支开发分支