abdyfranco/pagalo

Provides an easy-to-use class for generating payment requests using Pagalo.

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

This package is auto-updated.

Last update: 2024-04-28 12:21:23 UTC


README

Provides an easy-to-use class for generating payment requests using 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);

Requirements

PHP 7.1+. Other than that, this library has no external requirements.

Installation

You can install this library via Composer.

$ composer require abdyfranco/pagalo

License

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