PHPackages                             jaberwiki/laravel-pay - 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. jaberwiki/laravel-pay

ActiveLibrary[Payment Processing](/categories/payments)

jaberwiki/laravel-pay
=====================

A Laravel Package for Paystack

v1.0.0(3y ago)119MITPHPPHP ^7.2|^8.0|^8.1|^8.2

Since May 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/JaberWiki/laravel-pay)[ Packagist](https://packagist.org/packages/jaberwiki/laravel-pay)[ RSS](/packages/jaberwiki-laravel-pay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

laravel-pay
===========

[](#laravel-pay)

[![Latest Stable Version](https://camo.githubusercontent.com/ba51abff29c88b015bd41e17611ebcff9c77db0022f148b7c606166e78154923/68747470733a2f2f706f7365722e707567782e6f72672f6a6162657277696b692f6c61726176656c2d7061792f762f737461626c652e737667)](https://packagist.org/packages/jaberwiki/laravel-pay)[![License](https://camo.githubusercontent.com/8041d3a5a6877ca987166d344dbd79336f7570065fba718eca64ba99be40e0d2/68747470733a2f2f706f7365722e707567782e6f72672f6a6162657277696b692f6c61726176656c2d7061792f6c6963656e73652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/6d1fd71bac9616e83746feeee88f31945f85ab6463fbb013da27886e679a4bf1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6162657277696b692f6c61726176656c2d7061792e737667)](https://travis-ci.org/jaberwiki/laravel-pay)[![Quality Score](https://camo.githubusercontent.com/380d1d219fb2fb30bfb81b99baa15dcd8d942d0dadb982c04fdcac4d718ba52e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a6162657277696b692f6c61726176656c2d7061792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/jaberwiki/laravel-pay)[![Total Downloads](https://camo.githubusercontent.com/cbc55735d89faca640558f727d5e60af4ae116762126a64e0c378c2a5df6177b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6162657277696b692f6c61726176656c2d7061792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jaberwiki/laravel-pay)

> 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 Paystack, simply require it

```
composer require jaberwiki/laravel-pay
```

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

```
"jaberwiki/laravel-pay": "1.0.*"

```

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

Once Laravel Paystack 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/jaberwiki/laravel-pay#configuration)

- `jaberwiki\Paystack\PaystackServiceProvider::class`

Also, register the Facade like so:

```
'aliases' => [
    ...
    'Paystack' => jaberwiki\Paystack\Facades\Paystack::class,
    ...
]
```

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

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="jaberwiki\Paystack\PaystackServiceProvider"
```

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

```
