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

ActiveSymfony-bundle[Payment Processing](/categories/payments)

mouctar/orange-money-bundle
===========================

Orange Money for Symfony

0.1(2y ago)210MITPHPPHP ^8.2

Since Nov 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mamadoumouctar/OrangeMoneyBundle)[ Packagist](https://packagist.org/packages/mouctar/orange-money-bundle)[ RSS](/packages/mouctar-orange-money-bundle/feed)WikiDiscussions main Synced 1mo ago

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

OrangeMoneyBundle
=================

[](#orangemoneybundle)

The OrangeMoneyBundle makes integration easy of the Orange Money payment API on an app Symfony

Installation and configuration
------------------------------

[](#installation-and-configuration)

### Pretty simple with [composer](https://packagist.org/), run

[](#pretty-simple-with-composer-run)

```
composer require mouctar/orange-money-bundle
```

### Add OrangeMoneyBundle to your application kernel

[](#add-orangemoneybundle-to-your-application-kernel)

If you don't use flex (you should), you need to manually enable bundle:

```
// app/AppKernel.php
public function registerBundles()
{
    return [
        // ...
        new Tm\OrangeMoneyBundle\OrangeMoneyBundle(),
        // ...
    ];
}
```

### Configuration example

[](#configuration-example)

You can configure default application

#### YAML:

[](#yaml)

```
# config/packages/orange_money.yaml
orange_money:
  client_id: '%env(OM_CLIENT_ID)%'
  client_secret: '%env(OM_CLIENT_SECRET)%'
  environment: sandbox
```

### How it uses

[](#how-it-uses)

### Fetching Orange Money Public key

[](#fetching-orange-money-public-key)

```
