PHPackages                             mantey/mazzuma - 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. mantey/mazzuma

ActiveLibrary

mantey/mazzuma
==============

An easy way to integrate mazzuma api into your payment application

10PHP

Since Sep 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mantey-github/mazzuma)[ Packagist](https://packagist.org/packages/mantey/mazzuma)[ RSS](/packages/mantey-mazzuma/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mazzuma's Payment Gateway PHP package
=====================================

[](#mazzumas-payment-gateway-php-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/649648dd765e6160c83f12f8c3a5dfc04931e48ac09f43f251bef821e66a90ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616e7465792f6d617a7a756d612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mantey/mazzuma)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/54cb6f257a4ab31af0766f281f28a7cefaa94f6dd1fa0089cd4ecdc46d011bd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d616e7465792f6d617a7a756d612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mantey/mazzuma)

This package provide an easy way to integrate [Mazzuma](https://mazzuma.com/) into your payment web application.

Mazzuma allows you to gain mobile money payments from customers and clients with optimal ease and at no extra charges (standard mobile money operator charges apply).

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

[](#installation)

You can install the package via composer:

```
composer require mantey/mazzuma
```

Usage
-----

[](#usage)

Head over to the [mazzuma dashboard](https://dashboard.teamcyst.com/) and create a new Mazzuma account to get your API key.

Open the `/config/mazzuma.php` and set the key with your Mazzuma API Key.

##### Mazzuma Mobile Money Payment

[](#mazzuma-mobile-money-payment)

```
require "vendor/autoload.php"

use Mantey\Mazzuma\Mazzuma;

//Make Mobile Money Pament

$response = (new Mazzuma('mobile-money'))
        ->makePayment([
            "price" => 1,
            "network" => "mtn",
            "recipient_number" => "026xxxxxxx",
            "sender" => "024xxxxxxx",
            "option" => "rmta",
            "orderID" => "123342"
        ]);

print_r($response);

// Verify Mobile Money Pament

$verifyID = '1223234';

$response = (new MazzumaApi('mobile-money'))
                ->verify($verifyID);

print_r($response);
```

##### MAZ Token Payment

[](#maz-token-payment)

```
require "vendor/autoload.php"

use Mantey\Mazzuma\Mazzuma;

//Make Token Pament

$response = (new Mazzuma('token'))
        ->makePayment([
            "amount"=> 1,
            "recipient"=> "",
            "sender"=> "",
        ]);

print_r($response);

// Verify Token Pament

$hashVerifyID = '1223234';

$response = (new MazzumaApi('token'))
                ->verify($hashVerifyID);

print_r($response);
```

##### Mazzuma Payment Extras

[](#mazzuma-payment-extras)

```
require "vendor/autoload.php"

use Mantey\Mazzuma\Mazzuma;

//Get Balance

$response = (new Mazzuma('token'))
        ->getBalance();

print_r($response);
```

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

[](#contributing)

Please report any issue you find in the issues page. Pull requests are always welcome.

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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://avatars.githubusercontent.com/u/3439046?v=4)[Rodrigo Mantey](/maintainers/mantey)[@mantey](https://github.com/mantey)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mantey-mazzuma/health.svg)

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

PHPackages © 2026

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