php-shoket

Shoket Client for PHP

Latest Version on Packagist Tests Total Downloads

Documentation

You can find the documentation for this package on Docs

Installation

You can install the package via composer:

composer require shoket/php-shoket

Usage

$shoket = new Shoket(['apiSecret' => 'your-api-key']);

$response = $shoket->makePaymentRequest([
    "amount" => "5000",
    "customer_name" => "John Doe",
    "email" => "john@user.com",
    "number_used" => "255612345678",
    "channel" => "Tigo",
]);

print_r($response);

API Documentation

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.