PHPackages                             fannypack/jpesa - 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. fannypack/jpesa

ActiveLibrary[Payment Processing](/categories/payments)

fannypack/jpesa
===============

laravel jpesa mobile money payment implementation

v1.0(8y ago)025PHP

Since Sep 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mpaannddreew/laravel-jpesa)[ Packagist](https://packagist.org/packages/fannypack/jpesa)[ RSS](/packages/fannypack-jpesa/feed)WikiDiscussions master Synced 2w ago

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

About this library
------------------

[](#about-this-library)

This is a simple/basic implementation of JPesa payments in laravel 5

Actions supported
-----------------

[](#actions-supported)

Note: You must have a valid JPesa account to use this library

- RECEIVING MONEY \[Request payment\]

For more information visit [JPesa](https://secure.jpesa.com/welcome.php)

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

[](#installation)

composer require fannypack/jpesa

Register service provider

```
FannyPack\JPesa\JPesaServiceProvider::class,
```

Register Facade Register service provider

```
'JPesa' => FannyPack\JPesa\JPesa::class,
```

After the service provider is registered run this command

```
php artisan vendor:publish

```

This command will create a copy of the library's config file and migrations into your code base

```
jpesa.php
```

Run migrations

```
php artisan migrate

```

Environment setup
-----------------

[](#environment-setup)

The library loads configurations from the .env file in your application's root folder. These are the contents of jpesa.php

```
return [
    'username' => env('JPESA_USERNAME', ''),
    'password' => env('JPESA_PASSWORD', ''),
];

```

Usage in context of your jpesa account
--------------------------------------

[](#usage-in-context-of-your-jpesa-account)

Using it with your models, add

```
namespace App;

use FannyPack\JPesa\Billable;
use Illuminate\Database\Eloquent\Model;

class Account extends Model
{
    use Billable;
}
```

Requesting payment from a registered mobile money number

```
$response = JPesa::deposit($from_phone_number, $amount);
```

Information about a jpesa transaction

```
$response = JPesa::info($transactionId);
```

Bugs
----

[](#bugs)

For any bugs found, please email me at  or register an issue at [issues](https://github.com/mpaannddreew/laravel-jpesa/issues)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

Unknown

Total

1

Last Release

3213d ago

### Community

Maintainers

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

---

Top Contributors

[![mpaannddreew](https://avatars.githubusercontent.com/u/10240351?v=4)](https://github.com/mpaannddreew "mpaannddreew (6 commits)")

---

Tags

phplaravellibrarypaymentsmobile-moneyjpesa

### Embed Badge

![Health badge](/badges/fannypack-jpesa/health.svg)

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M154](/packages/spatie-laravel-health)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[calebdw/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

15104.9k4](/packages/calebdw-larastan)

PHPackages © 2026

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