d-scribe/laravel-paystack

A collection of classes to be extended/used in laravel applications for quick development

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/d-scribe/laravel-paystack

v1.1.1 2019-06-28 13:28 UTC

This package is auto-updated.

Last update: 2025-09-29 02:21:17 UTC


README

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.