laravel-paystack maintained by d-scribe
Description
A collection of classes to be extended/used in laravel applications for quick development
Author
Last update
2019/06/28 15:28
(dev-master)
License
Downloads
12
laravel-paystack
A wrapper around the official paystack library for laravel.
Installation
composer require d-scribe/laravel-paystack
For Laravel <= 5.4:
-
Add
Paystack\Providers\ServiceProviderto the providers section in config\app.php file like'providers' => [ // ... Paystack\Providers\ServiceProvider::class, ] -
Add
Paystack\Facades\Apito the aliases section in config\app.php file like'aliases' => [ // ... 'PaystackApi' => Paystack\Facades\Api::class ] -
Create
PAYSTACK_SECRET_KEYvariable in the.envfile