Developer Tools
mpesa-api (Node.js) vs Safaricom M-Pesa PHP SDK
A verified, side-by-side comparison. Both records are status-checked by Wycord, so you are comparing what each actually offers today, not a stale listing.
Category
Developer Tools
Developer Tools
Type
SDK
SDK
Country
🇰🇪 Kenya
🇰🇪 Kenya
Docs status
Docs live
Docs live
Licensing
Pricing
Free / open-source
Free / open-source
Verified
Verified
Verified
Last verified
16 Sept 2026
10 Oct 2026
Tags
mpesa, javascript, kenya, daraja, node
payments, mpesa, php, kenya, daraja
Summary
A Node.js module that wraps the Safaricom M-Pesa Daraja API, supporting C2B, B2C, STK push, transaction status, balance and reversals. Installed via npm i mpesa-api.
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.
mpesa-api (Node.js) vs Safaricom M-Pesa PHP SDK at a glance
mpesa-api (Node.js) and Safaricom M-Pesa PHP SDK are both listed under SDK in Wycord's Developer Tools index.
Both are based in Kenya.
Both currently show the status "Docs live".
On access, both are marked "No approval needed".
Uptime and latency come from Wycord's own probes of each resource's website, documentation and repository, run every six hours.
How they differ
The two records match on every field Wycord checks.
Topics
Both are tagged: mpesa, kenya, daraja.
Only mpesa-api (Node.js): javascript, node.
Only Safaricom M-Pesa PHP SDK: payments, php.
Common questions
- Which has better uptime, mpesa-api (Node.js) or Safaricom M-Pesa PHP SDK?
- Wycord does not yet have enough probe results for both to compare uptime.
- Do mpesa-api (Node.js) or Safaricom M-Pesa PHP SDK need approval before use?
- Both are marked "No approval needed".
- Is the documentation for mpesa-api (Node.js) and Safaricom M-Pesa PHP SDK working?
- Both show "Docs live" at the last check.
- Where are mpesa-api (Node.js) and Safaricom M-Pesa PHP SDK based?
- Both are based in Kenya.