Search by

wajub / wajub-php

Mckenzieartswajub

Official Wajub PHP SDK server-side payments, and merchant API

v2.0.0 2026-09-15 23:00 UTC

This package is not auto-updated.

Last update: 2026-09-16 10:43:02 UTC


README

Wajub

Build Status Total Downloads Latest Stable Version License

Introduction

The Wajub PHP SDK is the server side of a Wajub integration. It holds your secret key, creates payments, reads their real status and verifies webhook signatures, so you can accept mobile money and card payments across Africa from any PHP 8.4+ application, with first-class support for Laravel.

use Wajub\Wajub;

$wajub = new Wajub(['api_key' => config('services.wajub.secret')]);

$payment = $wajub->payments->create([
    'amount' => 25000,
    'currency' => 'XAF',
    'email' => 'amina@example.com',
    'callback' => route('checkout.complete'),
]);

return redirect()->away($payment->authorization_url);

Official Documentation

Documentation for the PHP SDK can be found on the Wajub website.

Contributing

Thank you for considering contributing to the Wajub PHP SDK! You can read the contribution guide here.

Security Vulnerabilities

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

License

The Wajub PHP SDK is open-sourced software licensed under the MIT license.