Skip to content
Developer Tools

django-daraja 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
10 Oct 2026
10 Oct 2026
Tags
mpesa, kenya, daraja, python, django
payments, mpesa, php, kenya, daraja
Summary
Python Django library for interacting with the Safaricom M-Pesa Daraja API, simplifying STK push and related mobile money operations. Marked Production/Stable on PyPI with Read the Docs documentation.
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.

django-daraja vs Safaricom M-Pesa PHP SDK at a glance

django-daraja 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".

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

Average response time on live probes was 105 ms for django-daraja 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

  • Average latency: django-daraja, 105 ms; Safaricom M-Pesa PHP SDK, 125 ms.

Topics

Both are tagged: mpesa, kenya, daraja.

Only django-daraja: python, django.

Only Safaricom M-Pesa PHP SDK: payments, php.

Common questions

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

More comparisons