Looking to hire Laravel developers? Try LaraJobs

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
Links
Downloads
12

Comments
comments powered by Disqus

laravel-paystack

A wrapper around the official paystack library for laravel.

Installation

composer require d-scribe/laravel-paystack

For Laravel <= 5.4:

  1. Add Paystack\Providers\ServiceProvider to the providers section in config\app.php file like

    'providers' => [
        // ...
        Paystack\Providers\ServiceProvider::class,
    ]
    
  2. Add Paystack\Facades\Api to the aliases section in config\app.php file like

    'aliases' => [
        // ...
        'PaystackApi' => Paystack\Facades\Api::class
    ]
    
  3. Create PAYSTACK_SECRET_KEY variable in the .env file

Usage

See https://github.com/yabacon/paystack-php.