PHPackages                             phemorah/laravel-paystack - 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. phemorah/laravel-paystack

ActiveLibrary[Payment Processing](/categories/payments)

phemorah/laravel-paystack
=========================

A Laravel 6 Package for Paystack

1171[1 issues](https://github.com/phemorah/laravel-paystack/issues)PHPCI failing

Since Jan 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phemorah/laravel-paystack)[ Packagist](https://packagist.org/packages/phemorah/laravel-paystack)[ RSS](/packages/phemorah-laravel-paystack/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-paystack
================

[](#laravel-paystack)

[![Latest Stable Version](https://camo.githubusercontent.com/ec5bb81d32f86b7674017038588a5aa3f6afd76bca2a73e59ceb3bd4c637e967/68747470733a2f2f706f7365722e707567782e6f72672f7068656d6f7261682f6c61726176656c2d706179737461636b2f762f737461626c652e737667)](https://packagist.org/packages/phemorah/laravel-paystack)[![License](https://camo.githubusercontent.com/d8c708a0e79570433333a7fde724ce31378cbe57a9d619fd1ab3268da91cfb4e/68747470733a2f2f706f7365722e707567782e6f72672f7068656d6f7261682f6c61726176656c2d706179737461636b2f6c6963656e73652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/6836ab2105870aa6d52b6201c14c8fd34fda3f2575a11b874d05a076fe533ba3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068656d6f7261682f6c61726176656c2d706179737461636b2e737667)](https://travis-ci.org/phemorah/laravel-paystack)[![Quality Score](https://camo.githubusercontent.com/317f1a37a49861fa6b246db0200eca978c4516f7297b31ddbc0aedcd726a3db7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068656d6f7261682f6c61726176656c2d706179737461636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/phemorah/laravel-paystack)[![Total Downloads](https://camo.githubusercontent.com/be589e6ba483ff19c9bbb61e02b4603bef9cc9616a2ac3f0177a3d0512726f56/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068656d6f7261682f6c61726176656c2d706179737461636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phemorah/laravel-paystack)

> A Laravel 6 Package Paystack

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 phemorah/laravel-paystack
```

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

```
"phemorah/laravel-paystack": "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/phemorah/laravel-paystack#configuration)

- `Phemorah\Paystack\PaystackServiceProvider::class`

Also, register the Facade like so:

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

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

[](#configuration)

You can publish the configuration file using this command:

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

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

```
