abdyfranco/pagalo

提供了一个易于使用的类,用于使用Pagalo生成支付请求。

v2.3 2020-09-28 04:03 UTC

This package is auto-updated.

Last update: 2024-09-28 13:30:23 UTC


README

提供了一个易于使用的类,用于使用Pagalo生成支付请求。

<?php

use Pagalo\Module\Payments;

$Payments = new Payments('username', 'password');

$client_id = '1000';
$description = 'Invoice #1234';
$amount = 100;
$currency = 'USD';

$request = $Payments->request($client_id, $description, $amount, $currency);

要求

PHP 7.1+. 除了这个,这个库没有外部要求。

安装

您可以通过Composer安装此库。

$ composer require abdyfranco/pagalo

许可证

MIT许可证(MIT)。更多信息请参阅 "LICENSE.md" 文件。