PHPackages                             bascil/mpesa-daraja-api-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bascil/mpesa-daraja-api-php

ActiveLibrary[API Development](/categories/api)

bascil/mpesa-daraja-api-php
===========================

PHP Implementation for M-Pesa Daraja API

313[1 issues](https://github.com/Bascil/mpesa-daraja-api-php/issues)PHP

Since Nov 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Bascil/mpesa-daraja-api-php)[ Packagist](https://packagist.org/packages/bascil/mpesa-daraja-api-php)[ RSS](/packages/bascil-mpesa-daraja-api-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Implementation for M-Pesa Daraja API
========================================

[](#php-implementation-for-m-pesa-daraja-api)

This is a PHP package for the Safaricom's M-Pesa REST API dubbed DARAJA API. The official Daraja API documentation is available on .

Installation
------------

[](#installation)

- Run the following command to clone this repo

```
git clone https://github.com/Bascil/mpesa-daraja-api-php.git

```

OR

- Download the source code as zipped

Linux Hosting
-------------

[](#linux-hosting)

If you need VPS or dedicated hosting, please visit this link [Server Host](https://serverhost53.com)

Support
-------

[](#support)

Need support using this package:-

Email  or skype me at `basilndonga`.

If you wish to be added as a contributor to this project let me know. If you wish to buy me a coffee, you can support me on this [link](https://buymeacoffee.com/basilndonga).

If you were inspired by this project, don't forget to follow me on github and on twitter `@basilndonga` as well.

If you wish to engage me as a developer for your project, feel free to contact me

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Happy coding!!!!!!!

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/183610220?v=4)[basilndonga](/maintainers/basilndonga)[@basilndonga](https://github.com/basilndonga)

---

Top Contributors

[![Bascil](https://avatars.githubusercontent.com/u/27825464?v=4)](https://github.com/Bascil "Bascil (16 commits)")

### Embed Badge

![Health badge](/badges/bascil-mpesa-daraja-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/bascil-mpesa-daraja-api-php/health.svg)](https://phpackages.com/packages/bascil-mpesa-daraja-api-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
