PHPackages                             zaz-aangaraa/pay - 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. zaz-aangaraa/pay

ActiveLibrary

zaz-aangaraa/pay
================

A Laravel package for integrating MTN and Orange Money payments in Cameroon

00PHP

Since Dec 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Achaire-Zogo/aangaraa-pay)[ Packagist](https://packagist.org/packages/zaz-aangaraa/pay)[ RSS](/packages/zaz-aangaraa-pay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Aangaraa Pay Laravel Package
============================

[](#aangaraa-pay-laravel-package)

Un package Laravel pour intégrer facilement les paiements MTN Mobile Money et Orange Money au Cameroun via votre propre API.

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

[](#installation)

```
composer require zaz-aangaraa/pay
```

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

[](#configuration)

1. Publiez les fichiers de configuration et les migrations :

```
php artisan vendor:publish --tag=aangaraa-pay
```

2. Exécutez les migrations :

```
php artisan migrate
```

3. Ajoutez les variables d'environnement suivantes à votre fichier `.env` :

```
# Aangaraa Pay Configuration
AANGARAA_PAY_API_URL=https://votre-api-url.com/api
AANGARAA_PAY_APP_KEY=votre_app_key
MTN_CALLBACK_URL=https://votre-site.com/callback/mtn
MTN_NOTIFY_URL=https://votre-site.com/notify/mtn
ORANGE_CALLBACK_URL=https://votre-site.com/callback/orange
ORANGE_NOTIFY_URL=https://votre-site.com/notify/orange
```

Utilisation
-----------

[](#utilisation)

### Initialiser un paiement

[](#initialiser-un-paiement)

```
use Aangaraa\Pay\Facades\AangaraaPay;

// Initialiser un paiement
$payment = AangaraaPay::initializePayment([
    'phone_number' => '237XXXXXXXXX',
    'amount' => 1000,
    'description' => 'Paiement pour service X',
    'app_key' => 'votre_app_key',
    'transaction_id' => 'unique_transaction_id',
    'operator' => 'MTN_Cameroon', // ou 'Orange_Cameroon'
    'currency' => 'XAF',
]);
```

### Vérifier le statut d'un paiement

[](#vérifier-le-statut-dun-paiement)

```
$status = AangaraaPay::checkPaymentStatus('unique_transaction_id');
```

### Retirer de l'argent

[](#retirer-de-largent)

```
$response = AangaraaPay::withdrawMoney([
    'phone_number' => '237XXXXXXXXX',
    'amount' => 500,
    'app_key' => 'votre_app_key',
    'operator' => 'MTN_Cameroon', // ou 'Orange_Cameroon'
]);
```

Gestion des Webhooks
--------------------

[](#gestion-des-webhooks)

Le package gère automatiquement les webhooks de notification pour MTN et Orange Money. Assurez-vous que vos URLs de notification sont accessibles publiquement.

Sécurité
--------

[](#sécurité)

Le package utilise votre `app_key` pour authentifier les requêtes. Assurez-vous de ne jamais partager votre clé et de la stocker de manière sécurisée.

Support
-------

[](#support)

Pour toute question ou problème, veuillez créer une issue sur le dépôt GitHub.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity0

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/bff6abb34ffb604d75b404014f8e44d4fb6a934ca0f7ccf75d16e8391d4c90d4?d=identicon)[Achaire-Zogo](/maintainers/Achaire-Zogo)

---

Top Contributors

[![Achaire-Zogo](https://avatars.githubusercontent.com/u/61749305?v=4)](https://github.com/Achaire-Zogo "Achaire-Zogo (6 commits)")

### Embed Badge

![Health badge](/badges/zaz-aangaraa-pay/health.svg)

```
[![Health](https://phpackages.com/badges/zaz-aangaraa-pay/health.svg)](https://phpackages.com/packages/zaz-aangaraa-pay)
```

PHPackages © 2026

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