/larastack

A Simple and Efficient Wrapper Around Paystack API for Laravel (still in development)

Primary LanguagePHP

Larastack

A Simple and Efficient Wrapper Around Paystack API for Laravel.

Requirements

  • guzzlehttp/guzzle: ^6.3

Installation

composer require adesubomi/larastack

Usage

Unlike what you may be used to, Larastack simplifies the Paystack Api and puts all calls inside a single container with descriptive and self explanatory naming. The naming comes as you think it.

Check Balance
$larastack->checkBalance();

Verify or resolve account number
$larastack->resolveAccountNumber(string $accountNumber, string $bankCode);

Verify or resolve BVN
$larastack->resolveBvn(string $bvn);

Verify a transaction
$larastack->verifyTransaction(string $reference);

TODOs

  • Install Larastack using composer, (i.e. put Larastack on Packagist)
  • Implement everything in paystack api reference
  • Intensive Testing
  • Documentation