wajub / wajub-php
Official Wajub PHP SDK server-side payments, and merchant API
Requires
- php: ^8.4
- ext-json: *
- guzzlehttp/guzzle: ^8.2
Requires (Dev)
- laravel/pint: ^1.25
- pestphp/pest: ^5.0
- phpstan/phpstan: ^2.1
- rector/rector: ^2.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-16 10:43:02 UTC
README
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.