PHPackages                             angstrom/mtn-momo - 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. angstrom/mtn-momo

ActiveLibrary[Payment Processing](/categories/payments)

angstrom/mtn-momo
=================

A Laravel package for MTN Mobile Money API integration (Collections, Disbursements, and Remittances)

v1.0.0(1y ago)09MITPHP

Since Jun 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/robin-001/mtn-momo)[ Packagist](https://packagist.org/packages/angstrom/mtn-momo)[ RSS](/packages/angstrom-mtn-momo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

MTN MoMo Laravel Package
========================

[](#mtn-momo-laravel-package)

A Laravel package for MTN Mobile Money API integration that supports Collections, Disbursements, and Remittances.

Features
--------

[](#features)

- Collections API for receiving payments
- Disbursements API for sending payments
- Remittances API for international transfers
- Token management and caching
- Account balance checking
- Account holder verification
- Exchange rate queries (for Remittances)

Requirements
------------

[](#requirements)

- PHP ^8.1
- Laravel ^10.0
- Guzzle ^7.8

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

[](#installation)

You can install the package via composer:

```
composer require angstrom/mtn-momo
```

The package will automatically register its service provider.

Configuration
-------------

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --provider="Angstrom\MoMo\MoMoServiceProvider"
```

This will create a `config/momo.php` file. Update it with your MTN MoMo API credentials:

```
return [
    'api_key' => env('MOMO_API_KEY'),
    'api_user' => env('MOMO_API_USER'),
    'api_base_url' => env('MOMO_API_BASE_URL', 'https://sandbox.momodeveloper.mtn.com'),
    'environment' => env('MOMO_ENVIRONMENT', 'sandbox'),
];
```

Add these variables to your `.env` file:

```
MOMO_API_KEY=your-api-key
MOMO_API_USER=your-api-user
MOMO_API_BASE_URL=https://sandbox.momodeveloper.mtn.com
MOMO_ENVIRONMENT=sandbox
```

Usage
-----

[](#usage)

### Collections

[](#collections)

```
use Angstrom\MoMo\Collections;

$collections = new Collections();

// Request to pay
$result = $collections->requestToPay(
    amount: 100,
    currency: 'EUR',
    externalId: 'unique-transaction-id',
    partyId: '256772123456', // Phone number
    partyIdType: 'MSISDN',
    payerMessage: 'Payment for order #123',
    payeeNote: 'Order #123'
);

// Check transaction status
$status = $collections->getTransactionStatus($result['referenceId']);

// Get account balance
$balance = $collections->getAccountBalance();

// Check if account holder is active
$status = $collections->checkAccountHolderStatus('256772123456');
```

### Disbursements

[](#disbursements)

```
use Angstrom\MoMo\Disbursements;

$disbursements = new Disbursements();

// Transfer money
$result = $disbursements->transfer(
    amount: 100,
    currency: 'EUR',
    externalId: 'unique-transaction-id',
    payeeId: '256772123456',
    payeeIdType: 'MSISDN',
    payerMessage: 'Salary payment',
    payeeNote: 'Salary for January'
);

// Check transfer status
$status = $disbursements->getTransferStatus($result['referenceId']);

// Get account balance
$balance = $disbursements->getAccountBalance();
```

### Remittances

[](#remittances)

```
use Angstrom\MoMo\Remittances;

$remittances = new Remittances();

// International transfer
$result = $remittances->transfer(
    amount: 100,
    currency: 'EUR',
    externalId: 'unique-transaction-id',
    payeeId: '256772123456',
    payeeIdType: 'MSISDN',
    payerMessage: 'International transfer',
    payeeNote: 'Family support'
);

// Check transfer status
$status = $remittances->getTransferStatus($result['referenceId']);

// Get exchange rate
$rate = $remittances->getExchangeRate('EUR', 'UGX');
```

### Using the Facade

[](#using-the-facade)

You can also use the provided facade:

```
use Angstrom\MoMo\Facades\MoMo;

// Collections
$result = MoMo::collections()->requestToPay(...);

// Disbursements
$result = MoMo::disbursements()->transfer(...);

// Remittances
$result = MoMo::remittances()->transfer(...);
```

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance40

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

691d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d1cae7b564963d2d43c24ceb54facfca1c322bd6aaa6c07ec43f298e591a1a9?d=identicon)[rokello](/maintainers/rokello)

---

Top Contributors

[![robin-001](https://avatars.githubusercontent.com/u/1793066?v=4)](https://github.com/robin-001 "robin-001 (6 commits)")

### Embed Badge

![Health badge](/badges/angstrom-mtn-momo/health.svg)

```
[![Health](https://phpackages.com/badges/angstrom-mtn-momo/health.svg)](https://phpackages.com/packages/angstrom-mtn-momo)
```

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)

PHPackages © 2026

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