PHPackages                             agweria/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. [API Development](/categories/api)
4. /
5. agweria/mpesa

ActiveLibrary[API Development](/categories/api)

agweria/mpesa
=============

MPESA API wrapper for Laravel 8 with dashboards and multiple accounts for C2B, B2C and B2B.

v1.0.0(5y ago)2151[21 PRs](https://github.com/agweria/mpesa/pulls)MITPHP

Since Oct 18Pushed 3y agoCompare

[ Source](https://github.com/agweria/mpesa)[ Packagist](https://packagist.org/packages/agweria/mpesa)[ Docs](https://github.com/agweria/mpesa)[ Fund](https://paypal.me/samueldervis)[ RSS](/packages/agweria-mpesa/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (24)Used By (0)

Mobile API for Laravel 8+
=========================

[](#mobile-api-for-laravel-8)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3ea92c5046c176f7714e2f21fdafa8c0ea828ce83d7ff25a98cf45f5870081c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616777657269612f6d706573612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/agweria/mpesa)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/b8cea22040fce1d316373487a908f9585f015913ba4fcea2f3477f7098d2a354/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616777657269612f6d706573612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/agweria/mpesa)[![Build Status](https://camo.githubusercontent.com/110207cc92b86548e5d871d208f6704d35bef74f9e759e8601ff9139d782376c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616777657269612f6d706573612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/agweria/mpesa)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

Introduction
------------

[](#introduction)

This is a *Laravel 8+* package for MPESA Integration. This API package allow you to initiate C2B,B2C and B2B transactions including balance query and reversals.

This package includes Controllers, Migrations, Views and Routes which simplifies everything for you. You only need to set up a few things in the published configuration file, you are good to go 🎉.

It comes with a admin section to monitor transactions, send money via B2C and B2B and reverse transactions.

**NOTE**: This package only works for Laravel 8+. For previous versions of Laravel see [samerior/mobile-money](https://github.com/samerior/mobile-money) package on github.

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

[](#installation)

Via Composer

```
$ composer require agweria/mpesa
```

About Agweria LLC
-----------------

[](#about-agweria-llc)

[Agweria LLC](https://agweria.com) is a consultation and software providing company in Kenya dedicated to provide robust and fully functional sophisticated software solutions. Our main area of expertise is software development. We have also brought many stakeholders in board to offer solutions for mobile, cloud, Business Intelligence and Technology Infrastructure. We focus on delivering true, measurable business value to our clients. We have a passion for customer satisfaction and are dedicated to delivering dependable and reliable solutions that exceed client expectations.

Documentation
-------------

[](#documentation)

Read our beautiful documentation on

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Support
-------

[](#support)

- [Official Support ](https://github.com/agweria)
- [Official Telegram Channel](https://t.me/mobile_money_api)

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Agweria LLC](https://agweria.com)
- [Samuel Dervis](https://github.com/samueldervis)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Unknown

Total

1

Last Release

2085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bbada994a2286dc8780dd64886af173e56b43c2964325d8bc4428d48ce8bcdb?d=identicon)[samerior](/maintainers/samerior)

---

Tags

apilaravelpaymentsmpesamobile-moneympesa-apipesaequityequitelsamueldervissamerior groupagweriaagweria llc

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[samerior/mobile-money

Mobile payments API - Kenya

252.3k](/packages/samerior-mobile-money)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.5M36](/packages/mollie-laravel-mollie)[smodav/mpesa

M-Pesa API implementation

16467.9k1](/packages/smodav-mpesa)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)

PHPackages © 2026

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