PHPackages                             olaoluwa-98/laravel-payant - 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. olaoluwa-98/laravel-payant

ActivePackage[Payment Processing](/categories/payments)

olaoluwa-98/laravel-payant
==========================

A laravel package for Payant

1.1.2(8y ago)131071MITPHPPHP ^5.4.0|^7.0

Since Jun 19Pushed 8y ago2 watchersCompare

[ Source](https://github.com/olaoluwa-98/laravel-payant)[ Packagist](https://packagist.org/packages/olaoluwa-98/laravel-payant)[ RSS](/packages/olaoluwa-98-laravel-payant/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

laravel-payant
==============

[](#laravel-payant)

[![Latest Stable Version](https://camo.githubusercontent.com/147de76d5ce836b7159c0ed5faa83154df43ccb8c4f85fc72e5c558db86b2d85/68747470733a2f2f706f7365722e707567782e6f72672f6f6c616f6c7577612d39382f6c61726176656c2d706179616e742f762f737461626c652e737667)](https://packagist.org/packages/olaoluwa-98/laravel-payant)[![License](https://camo.githubusercontent.com/09488aced5e57d908f1aab3d4c437be42088a54e663caa3a3b5c2d44c28c7c8e/68747470733a2f2f706f7365722e707567782e6f72672f6f6c616f6c7577612d39382f6c61726176656c2d706179616e742f6c6963656e73652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b672dd5be6e91e8a0ddbb1a398d389838feb562dec4e433d2447542cfc4ed134/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c616f6c7577612d39382f6c61726176656c2d706179616e742e737667)](https://travis-ci.org/olaoluwa-98/laravel-payant)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2616badd6a51ed17318b9890683350c363350be1d59349869fc61623c80bdf2c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f6c616f6c7577612d39382f6c61726176656c2d706179616e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/olaoluwa-98/laravel-payant/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/9927ae1c35ac8ad0017d59a04d86fbd5ba48daeee3920b47a2b56c465b443ed4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6c616f6c7577612d39382f6c61726176656c2d706179616e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/olaoluwa-98/laravel-payant)

Inspired By unicodeveloper's [laravel-paystack](https://github.com/unicodeveloper/laravel-paystack)

Main functions from Jonathan Itakpe's [payantNG-php](https://github.com/JonathanItakpe/payantNG-php)

> A Laravel 5 Package for working with Payant

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

[](#installation)

[PHP](https://php.net) 5.4+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Payant, simply add the following line to the require block of your `composer.json` file.

```
"olaoluwa-98/laravel-payant": "1.1.*"
```

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

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

- `Olaoluwa98\Payant\PayantServiceProvider::class`

Also, register the Facade like so:

```
'aliases' => [
    ...
    'Payant' => Olaoluwa98\Payant\Facades\Payant::class,
    ...
]
```

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

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="Olaoluwa98\Payant\PayantServiceProvider"
```

A configuration-file named `payant.php` with some sensible defaults will be placed in your `config` directory:

```
