You can find the documentation for this package on Docs
You can install the package via composer:
composer require shoket/php-shoket
$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);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.