This package provides a wonderful PHP client that allows you to interact with Paystack Api
This SDK is a PHP & Laravel Package, (Designed to help working with paystack api easier and faster).
composer require musheabdulhakim/paystack
use MusheAbdulHakim\Paystack\Paystack;
$paystack = Paystack::client('your-api-key');
//or
$paystack = Paystack::client('secret-api-key','https://api.paystack.co');
$customers = $paystack->customer()->list();
$initialize_transaction = $paystack->transaction()->initialize([
//
]);
Refer to the documentation here
'PAYSTACK_API_URI' => 'https://api.paystack.co',
'PAYSTACK_SECRET_KEY' => '',
'PAYSTACK_PUBLIC_KEY' => '',
🧹 Keep a modern codebase with php-cs-fixer:
composer lint
🚀 Run the entire test suite:
composer test
Report all your issues Here
All your pull requests are welcome :).