PHPackages                             ibracilinks/orange-money - 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. ibracilinks/orange-money

ActiveLibrary[Payment Processing](/categories/payments)

ibracilinks/orange-money
========================

A laravel package for Orange Money Web Payment API.

121.8k↓50%7[1 PRs](https://github.com/Ibracilinks/OrangeMoney/pulls)PHP

Since May 19Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Ibracilinks/OrangeMoney)[ Packagist](https://packagist.org/packages/ibracilinks/orange-money)[ RSS](/packages/ibracilinks-orange-money/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

A Laravel Package for Orange Money Web Payment API
==================================================

[](#a-laravel-package-for-orange-money-web-payment-api)

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

[](#installation)

- Use following command to install:

```
composer require  ibracilinks/orange-money
```

- Add the service provider to your `$providers` array in `config/app.php` file like:

```
Ibracilinks\OrangeMoney\Providers\OrangeMoneyServiceProvider::class,
```

- Add the alias to your `$aliases` array in `config/app.php` file like:

```
'OrangeMoney' => Ibracilinks\OrangeMoney\Facades\OrangeMoney::class,
```

- Run the following command to publish configuration:

```
php artisan vendor:publish --provider "Ibracilinks\OrangeMoney\Providers\OrangeMoneyServiceProvider"
```

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

[](#configuration)

- After installation, you will need to add your orangemoney settings. Following is the code you will find in **config/orangemoney.php**, which you should update accordingly.

```
return [
    'auth_header'  => env('OM_AUTH_HEADER', ''),
    'merchant_key' => env('OM_MERCHANT_KEY', ''),
    'return_url'   => env('OM_RETURN_URL', ''),
    'cancel_url'   => env('OM_CANCEL_URL', ''),
    'notif_url'    => env('OM_NOTIf_URL', '')
];
```

- Add this to `.env.example` and `.env`

```
OM_AUTH_HEADER=
OM_MERCHANT_KEY=
OM_RETURN_URL=
OM_CANCEL_URL=
OM_NOTIf_URL=
```

Basic Usage
-----------

[](#basic-usage)

Following are some ways through which you can access the **OrangeMoney** provider:

```
use Ibracilinks\OrangeMoney\OrangeMoney;

$payment = new OrangeMoney();

$data = [
    "merchant_key"=> '*********',
    "currency"=> "OUV",
    "order_id"=> "".time()."",
    "amount" => 5000,
    "return_url"=> 'http://www.your-website.com/callback/return',
    "cancel_url"=> 'http://www.your-website.com/callback/cancel',
    "notif_url"=>'http://www.your-website.com/callback/notif',
    "lang"=> "fr",
    "reference"=> "Your Website"
];

$payment->webPayment($data);
```

License
-------

[](#license)

The MIT License (MIT). Please see [License](https://github.com/Ibracilinks/OrangeMoney/blob/master/LICENSE) for more information.

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

[](#contributing)

Read [here](https://github.com/Ibracilinks/OrangeMoney/blob/master/CONTRIBUTING.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity33

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/7a51ace2c0989d4824dd24ea445104e4bc74d128e24336f51997d3a810f25174?d=identicon)[Ibracilinks](/maintainers/Ibracilinks)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ibracilinks-orange-money/health.svg)

```
[![Health](https://phpackages.com/badges/ibracilinks-orange-money/health.svg)](https://phpackages.com/packages/ibracilinks-orange-money)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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