alphaolomi/azampay-php

AzamPay PHP SDK

dev-main 2023-10-17 07:45 UTC

This package is auto-updated.

Last update: 2024-10-29 06:13:24 UTC


README

Latest Version on Packagist Tests Total Downloads

Azampay for PHP is a PHP client for Azampay (Innovating Digital Commerce Infrastructure in Africa).

Installation

You can install the package via composer:

composer require alphaolomi/azampay-php

Usage

use AlphaOlomi\AzampayService;

$azampay = new AzampayService([]);
// Or
$azampay = AzampayService::create([]);


// The following methods are available

// Get MNOs Available (Mobile Network Operators)
$mnoRes =  $azampay->getMNOs();


// MNO Checkout
$mnoCheckoutRes =  $azampay->mnoCheckout([]);

// Bank Checkout
$bankCheckoutRes =  $azampay->bankCheckout([]);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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