PHPackages                             prosperoking/paystack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. prosperoking/paystack

ActiveLibrary[Payment Processing](/categories/payments)

prosperoking/paystack
=====================

A Simple Wrapper for paystack transfer api

v0.2.1(5y ago)014MITPHP

Since Aug 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/prosperoking/paystack)[ Packagist](https://packagist.org/packages/prosperoking/paystack)[ Docs](https://github.com/prosperoking/paystack)[ RSS](/packages/prosperoking-paystack/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (0)

Paystack
========

[](#paystack)

[![Latest Version on Packagist](https://camo.githubusercontent.com/96976327fa502161fbfee8264e5be59a35cb325c1b7cd1273fdb4b6956165c1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f737065726f6b696e672f706179737461636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prosperoking/paystack)[![Total Downloads](https://camo.githubusercontent.com/77ad045bbb9ee7bd57aebb8014bc09ebe39d3cdb24a6e3839103c02efa04b5f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f737065726f6b696e672f706179737461636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prosperoking/paystack)[![Build Status](https://camo.githubusercontent.com/399fcf8a95a2dfc2f9b161b0fa949a51fdc2c8d31fdbbcaeaad26b37c04a67e9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f70726f737065726f6b696e672f706179737461636b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/prosperoking/paystack)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

Installation
------------

[](#installation)

Via Composer

```
$ composer require prosperoking/paystack
```

After installing run vendor publish and select PaystackTransfer from the prompt

```
$ php artisan vendor:publish
```

Usage
-----

[](#usage)

- Validate an Account Number: Now you can have a bank account validator *bankaccount* to enable you to validate an account number you will need to pass the bankcode field to it.

```
Validator::validate($data,[
    'bankcode'=>'required|string',
    'account_no'=>'required|bankaccount,bankcode'
])
```

- Get Banks

```
    Paystack::getBanks(); // returns  a laravel collection
```

- Create a transfer Recipient

```
    \PaystackTransfer::createTransferReciept($account_no,$bank_code, $account_name);
```

- Make a transfer

```
    \PaystackTransfer::transfer($recipient_code, $amount, $reason);
```

- Get transfer

```
    \PaystackTransfer::fetchTransfer(string $id_or_code);
```

- Get Transfer Balance

```
    \PaystackTransfer::balance()
```

- Make Bulk Transfer

```
    $payload = $transfers->map(fn(Transfer $transfer)=>[
                    'reference'=>$transfer->id,
                    'recipient'=>$transfer->recipient,
                    'amount'=> (int) round($transfer->amount * 100)
                ])->toArray();
    \PaystackTransfer::bulkTransfer($payload);
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [author name](https://github.com/prosperoking)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Total

5

Last Release

2007d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a23cd260ac5920154731b86f35035be9333b0d115fabe0fc2fb9ea2a5956b68?d=identicon)[prosperoking](/maintainers/prosperoking)

---

Top Contributors

[![prosperoking](https://avatars.githubusercontent.com/u/12105518?v=4)](https://github.com/prosperoking "prosperoking (4 commits)")

---

Tags

laravelpaystack

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prosperoking-paystack/health.svg)

```
[![Health](https://phpackages.com/badges/prosperoking-paystack/health.svg)](https://phpackages.com/packages/prosperoking-paystack)
```

###  Alternatives

[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
