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

ActiveLibrary[Payment Processing](/categories/payments)

odutola/laravel-payant
======================

A Laravel 6 Package for Payant

01.9kPHPCI failing

Since Dec 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/odutolaabisoye/laravel-payant)[ Packagist](https://packagist.org/packages/odutola/laravel-payant)[ RSS](/packages/odutola-laravel-payant/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-payant)

> A Laravel 5 Package for working with Paystack seamlessly

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

[](#installation)

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

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

```
composer require odutola/laravel-payant
```

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

```
"composer require odutola/laravel-payant": "1.0.*"

```

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.

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

- `Odutola\Payant\PayantServiceProvider::class`

Also, register the Facade like so:

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

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

[](#configuration)

You can publish the configuration file using this command:

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

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

```
