chandachewe / moneyunify
A PHP Money Unify Package to collect and disburse payments via Mobile Wallets
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
A Moneyunify PHP Package For Payments Collections and Disbursements
Requirements
- PHP >= 8.1
- MONEYUNIFY UUID MoneyUnify
Installation
Install package using composer require
:
composer require chandachewe/moneyunify
The process of collecting payments is very simple. Once the package is downloaded you can do the following steps:
Usage
If you have required the package correctly you should now see a directory called vendor. If so proceed as follows
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!!!!
Versioning
Releases will be numbered with the following format:
<major>.<minor>.<patch>
Contributions
Fork the dev branch