PHPackages                             allandereal/pesapal-laravel - 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. allandereal/pesapal-laravel

ActiveProject

allandereal/pesapal-laravel
===========================

PesaPal payment driver for Laravel.

019↓100%PHP

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/allandereal/pesapal-laravel)[ Packagist](https://packagist.org/packages/allandereal/pesapal-laravel)[ RSS](/packages/allandereal-pesapal-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\##PesaPal Laravel package

Minimum Requirements
--------------------

[](#minimum-requirements)

- Laravel `11.x`
- A [PesaPal](https://pesapal.com/) account with consumer key and secret

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

[](#installation)

### Require the composer package

[](#require-the-composer-package)

```
composer require allandereal/pesapal-laravel
```

### Publish the configuration

[](#publish-the-configuration)

This will publish the configuration under `config/pesapal.php`.

```
php artisan vendor:publish --tag=pesapal.config
```

### Publish the views (optional)

[](#publish-the-views-optional)

PesaPal comes with some helper components for you to use on your checkout, if you intend to edit the views they provide, you can publish them.

```
php artisan vendor:publish --tag=pesapal.components
```

### Add your PesaPal credentials

[](#add-your-pesapal-credentials)

Make sure you have the PesaPal credentials set in `config/pesapal.php`

```
'base_url' => env('PESAPAL_BASE_URL'),
'consumer_key' => env('PESAPAL_CONSUMER_KEY'),
'consumer_secret' => env('PESAPAL_CONSUMER_SECRET'),
'webhook_path' => env('PESAPAL_WEBHOOK_URL'),
```

> Keys can be found in your PesaPal account

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

[](#contributing)

Contributions are welcome, if you are thinking of adding a feature, please submit an issue first so we can determine whether it should be included.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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://www.gravatar.com/avatar/dadfe0fff44ea68d1f57f0d7bab9eec57e4887bb34ca1003e4d3a055ec30bc27?d=identicon)[allandereal](/maintainers/allandereal)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/allandereal-pesapal-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/allandereal-pesapal-laravel/health.svg)](https://phpackages.com/packages/allandereal-pesapal-laravel)
```

PHPackages © 2026

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