Downloads
Stars
Version
A wrapper around the official paystack library for laravel.
composer require d-scribe/laravel-paystack
For Laravel <= 5.4:
Add Paystack\Providers\ServiceProvider
to the providers section in config\app.php file like
'providers' => [
// ...
Paystack\Providers\ServiceProvider::class,
]
Add Paystack\Facades\Api
to the aliases section in config\app.php file like
'aliases' => [
// ...
'PaystackApi' => Paystack\Facades\Api::class
]
Create PAYSTACK_SECRET_KEY
variable in the .env
file