Skip to content
Developer Tools

mpesa-rust 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 broken
Docs live
Licensing
Pricing
Free / open-source
Free / open-source
Verified
Verified
Verified
Last verified
10 Oct 2026
10 Oct 2026
Tags
payments, mpesa, kenya, daraja, rust
payments, mpesa, php, kenya, daraja
Summary
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.
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-rust vs Safaricom M-Pesa PHP SDK at a glance

mpesa-rust and Safaricom M-Pesa PHP SDK are both listed under SDK in Wycord's Developer Tools index.

Both are based in Kenya.

Documentation status differs: mpesa-rust is "Docs broken" and Safaricom M-Pesa PHP SDK is "Docs live".

On access, both are marked "No approval needed".

Over the last 30 days Wycord's probes measured 100% uptime for mpesa-rust (36 checks) and 100% for Safaricom M-Pesa PHP SDK (36 checks).

Average response time on live probes was 1139 ms for mpesa-rust and 125 ms for Safaricom M-Pesa PHP SDK.

Uptime and latency come from Wycord's own probes of each resource's website, documentation and repository, run every six hours.

How they differ

  • Documentation: mpesa-rust, Docs broken; Safaricom M-Pesa PHP SDK, Docs live.
  • Average latency: mpesa-rust, 1139 ms; Safaricom M-Pesa PHP SDK, 125 ms.

Topics

Both are tagged: payments, mpesa, kenya, daraja.

Only mpesa-rust: rust.

Only Safaricom M-Pesa PHP SDK: php.

Common questions

Which has better uptime, mpesa-rust or Safaricom M-Pesa PHP SDK?
They are level at 100% over the last 30 days.
Do mpesa-rust or Safaricom M-Pesa PHP SDK need approval before use?
Both are marked "No approval needed".
Is the documentation for mpesa-rust and Safaricom M-Pesa PHP SDK working?
mpesa-rust shows "Docs broken" and Safaricom M-Pesa PHP SDK shows "Docs live" at the last check.
Where are mpesa-rust and Safaricom M-Pesa PHP SDK based?
Both are based in Kenya.

More comparisons