All countries

Kenya

10 verified resources in Developer Tools for building in Kenya.

Safaricom M-Pesa PHP SDK

Tools

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.

Docs live
SDK
Verified Jun 2026Free / open-source

africastalking-python

Tools

Official Python SDK for the Africa's Talking APIs, providing access to payments alongside SMS, voice, airtime, mobile data and WhatsApp services. Supports synchronous and asynchronous operations.

Docs live
SDK
Verified Jun 2026Free / open-source

django-daraja

Tools

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.

Docs live
SDK
Verified Jun 2026Free / open-source

iankumu/mpesa (Laravel M-Pesa)

Tools

A Laravel wrapper for the Safaricom M-Pesa Daraja APIs supporting STK push, B2C, B2B, C2B, transaction status, balance and reversals. Installed via composer require iankumu/mpesa.

Docs live
Plugin
Verified Jun 2026Free / open-source

kenya-administrative-divisions

Tools

npm package providing Kenya's 47 counties plus their constituencies and wards with helper methods like getCounties, getConstituencies and getWards. Written in TypeScript with hierarchical and flat-array access.

Docs live
Data Package
Verified Jun 2026Free / open-source

kenyan-mobile-number-validator

Tools

Node.js package that validates Kenyan mobile numbers and identifies the network operator (Safaricom, Airtel or Telkom) using precise regex on the network prefixes, supporting national and E.164 formats. Useful for KYC and form validation in Kenyan apps.

Docs live
Validation
Verified Jun 2026Free / open-source

mpesa-api (Node.js)

Tools

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.

Docs live
SDK
Verified Jun 2026Free / open-source

mpesa-rust

Tools

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.

Docs live
SDK
Verified Jun 2026Free / open-source

mpesa_flutter_plugin

Tools

A Flutter plugin that provides a Lipa Na M-Pesa Online STK push payment initialization interface for mobile apps. Added via mpesa_flutter_plugin in pubspec.yaml.

Docs live
Plugin
Verified Jun 2026Free / open-source

ussd-menu-builder

Tools

A Node.js library for composing USSD menus using a state-machine approach, compatible with the Africa's Talking and Hubtel USSD APIs. Installed via npm install ussd-menu-builder.

Docs live
Helper
Verified Jun 2026Free / open-source