PHPackages                             bmunyoki/mpesa - 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. [Payment Processing](/categories/payments)
4. /
5. bmunyoki/mpesa

ActiveLaravel[Payment Processing](/categories/payments)

bmunyoki/mpesa
==============

Laravel Mpesa package providing Mpesa STK, B2C, C2B and Reversal functionality

v4.1(3y ago)01.6k↑342.9%MITPHP

Since Jan 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bmunyoki/mpesa)[ Packagist](https://packagist.org/packages/bmunyoki/mpesa)[ GitHub Sponsors](https://github.com/bmunyoki)[ RSS](/packages/bmunyoki-mpesa/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (11)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/3f797efc769f418b36971060ff19a507a1a8544e75084648b06bd64a912dea09/68747470733a2f2f706f7365722e707567782e6f72672f626d756e796f6b692f6d706573612f762f737461626c65)](https://packagist.org/packages/bmunyoki/mpesa)[![Total Downloads](https://camo.githubusercontent.com/5b82d4341b934e32a730de408191152d21a6073c291272f2944143980838b923/68747470733a2f2f706f7365722e707567782e6f72672f626d756e796f6b692f6d706573612f646f776e6c6f616473)](https://packagist.org/packages/bmunyoki/mpesa)[![Latest Unstable Version](https://camo.githubusercontent.com/91b82cf16ed9347a2b7d57cdab3696eb27b5cd0da5265bd2e8c5a4f2b1280de3/68747470733a2f2f706f7365722e707567782e6f72672f626d756e796f6b692f6d706573612f762f756e737461626c65)](https://packagist.org/packages/bmunyoki/mpesa)[![License](https://camo.githubusercontent.com/11514471a79d67287d12f7d3a2ce06a9e351abe55740b2908b8507a55493df4b/68747470733a2f2f706f7365722e707567782e6f72672f626d756e796f6b692f6d706573612f6c6963656e7365)](https://packagist.org/packages/bmunyoki/mpesa)[![Monthly Downloads](https://camo.githubusercontent.com/e729ccc15c990c32240b057ce31d27af7e230508f6eef458d9e1c57160c94189/68747470733a2f2f706f7365722e707567782e6f72672f626d756e796f6b692f6d706573612f642f6d6f6e74686c79)](https://packagist.org/packages/bmunyoki/mpesa)[![Daily Downloads](https://camo.githubusercontent.com/dfed64fc3bb6a170d82ee3c95bdb83a227485399628eb865be8b9b7b57908de2/68747470733a2f2f706f7365722e707567782e6f72672f626d756e796f6b692f6d706573612f642f6461696c79)](https://packagist.org/packages/bmunyoki/mpesa)

About
-----

[](#about)

This package will help you in integrating your laravel application with Mpesa daraja API. The package eliminates all the hustles and lets you concetrate with what is important.

The package will help you integrating the following APIs, available in Mpesa daraja API

- C2B (Consumer to Business)
- B2C (Business to Consumers)
- Lipa na mpesa online(Mpesa Express)
- Reversal
- Query transaction status
- Query account (till number) balance

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

[](#installation)

Via Composer

```
$ composer require bmunyoki/mpesa
```

Contributing
------------

[](#contributing)

To contribute, get in touch with

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability in the package, please send an e-mail to Benjamin Munyoki via . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~131 days

Recently: every ~124 days

Total

10

Last Release

1183d ago

Major Versions

v1.0.1 → v2.02020-07-15

v2.5 → v3.02022-06-07

v3.0 → v4.02022-06-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22376891?v=4)[Benjamin Munyoki](/maintainers/bmunyoki)[@bmunyoki](https://github.com/bmunyoki)

---

Top Contributors

[![bmunyoki](https://avatars.githubusercontent.com/u/22376891?v=4)](https://github.com/bmunyoki "bmunyoki (5 commits)")

### Embed Badge

![Health badge](/badges/bmunyoki-mpesa/health.svg)

```
[![Health](https://phpackages.com/badges/bmunyoki-mpesa/health.svg)](https://phpackages.com/packages/bmunyoki-mpesa)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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