Safaricom M-Pesa PHP SDK
VerifiedBuilt by Safaricom
A PHP library for integrating the Safaricom M-Pesa Daraja API, covering STK push, B2C, account balance and callback handling. Installed via composer require safaricom/mpesa.
- Category
- Developer Tools
- Pricing
- Free / open-source
- Country
- 🇰🇪 Kenya
- Last verified
- 10 Oct 2026
{ "name": "Safaricom M-Pesa PHP SDK", "slug": "safaricom-m-pesa-php-sdk", "category": "TOOL", "country": "KE", "docs_status": "LIVE", "licensing_required": "NONE", "verified": true, "last_verified": "2026-10-10", "website": "https://packagist.org/packages/safaricom/mpesa", "documentation_url": "https://packagist.org/packages/safaricom/mpesa"}Verification history
- 10 Oct 2026 · live
- 7 Oct 2026 · live
- 4 Oct 2026 · live
- 1 Oct 2026 · live
- 28 Sept 2026 · live
- 25 Sept 2026 · live
- 22 Sept 2026 · live
- 22 Sept 2026 · live
Automated checks run every few days. See all recent status changes
30-day uptime
Connected infrastructure
- SDK forM-Pesa Daraja (Safaricom)APIs· Derived: same operator
Tags
Compare Safaricom M-Pesa PHP SDK
Side-by-side, verified specs against its closest sdk alternatives.
Related in Developer Tools
laravel-paystack
A community Laravel package (Packagist unicodeveloper/laravel-paystack) for integrating the Paystack payment gateway across Laravel 6-11, with payment initiation, callback handling, transaction verification and split payments. ~650 stars.
paystack-go (rpip)
A community Go client library for the Paystack API (Nigerian payment gateway) supporting transactions, transfers, plans, customers, subscriptions and settlements. Module github.com/rpip/paystack-go.
mpesa-rust
An unofficial Rust wrapper around the Safaricom M-Pesa API for account balance, B2C, C2B, STK push, transaction status, reversals and dynamic QR. Published as the mpesa crate on crates.io.