PHPackages                             triverla/laravel-monnify - 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. triverla/laravel-monnify

ActiveLibrary[Payment Processing](/categories/payments)

triverla/laravel-monnify
========================

A laravel package for Monnify

v1.0.2(2y ago)21413[1 PRs](https://github.com/Triverla/laravel-monnify/pulls)MITPHPPHP ^7.2|^8.0|^8.1

Since Jul 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Triverla/laravel-monnify)[ Packagist](https://packagist.org/packages/triverla/laravel-monnify)[ RSS](/packages/triverla-laravel-monnify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (5)Used By (0)

laravel-monnify
===============

[](#laravel-monnify)

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

[](#installation)

[PHP](https://php.net) 7.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Monnify, simply require it

```
composer require triverla/laravel-monnify
```

Or add the following line to the require block of your `composer.json` file.

```
"triverla/laravel-monnify": "1.0.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Laravel Monnify is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

```
'providers' => [
    ...
    Triverla\LaravelMonnify\MonnifyServiceProvider::class,
    ...
]
```

> If you use **Laravel &gt;= 5.5** you can skip this step and go to [**`configuration`**](https://github.com/triverla/laravel-monnify#configuration)

- `Triverla\LaravelMonnify\MonnifyServiceProvider::class`

Also, register the Facade like so:

```
'aliases' => [
    ...
    'Monnify' => Triverla\LaravelMonnify\Facades\Monnify::class,
    ...
]
```

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

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="Triverla\LaravelMonnify\MonnifyServiceProvider"
```

A configuration file `monnify.php` with some sensible defaults will be placed in your `config` directory as displayed below:

```
