PHPackages                             maatify/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. [API Development](/categories/api)
4. /
5. maatify/paystack

ActiveLibrary[API Development](/categories/api)

maatify/paystack
================

Official PHP library for maatify.dev PayStack API handler, known by our team

1.0.2(2y ago)06proprietaryPHP

Since Jul 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Maatify/Paystack)[ Packagist](https://packagist.org/packages/maatify/paystack)[ Docs](https://github.com/Maatify/)[ RSS](/packages/maatify-paystack/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Installation
============

[](#installation)

```
composer require maatify/paystack
```

Usage
=====

[](#usage)

### Instance

[](#instance)

```
use Maatify\PayStack\PayStackController;

require_once __DIR__ . '/vendor/autoload.php';

$pay_stack = new PayStackController(__SECRET_KEY__); // PayStack instance
```

### Setting optional: Query Or Body Parameters

[](#setting-optional--query-or-body-parameters)

#### there is two options to set parameters for All Methods :

[](#there-is-two-options-to-set-parameters-for-all-methods-)

###### This explains for transaction Initialize Example

[](#this-explains-for-transaction-initialize-example)

- 1st

```
$caller_object = $pay_stack->Transaction()->Initialize(); // transaction Initialize Example
$result = $caller_object
->SetOptional(__key__, __val__)
->SetOptional(__key__, __val__)
->Execute(__CUSTOMER_EMAIL__, __AMOUNT_IN_CENT__);
```

- 2nd

```
$caller_object = $pay_stack->Transaction()->Initialize(); // transaction Initialize Example
$result = $caller_object->SetAllOptionalAsArray([
__key1__ => __val1__,
__key2__ => __val2__,
])
->Execute(__CUSTOMER_EMAIL__, __AMOUNT_IN_CENT__);
```

Transactions Example
--------------------

[](#transactions-example)

- The Transactions API allows you create and manage payments on your integration.
- ✨ examples: [Transactions.md](Transactions.md) ✨

Customers Example
-----------------

[](#customers-example)

- TThe Customers API allows you create and manage customers on your integration.
- ✨ examples: [Customers.md](Customers.md) ✨

Plans Example
-------------

[](#plans-example)

- The Plans API allows you create and manage installment payment options on your integration.
- ✨ examples: [Plans.md](Plans.md) ✨

Subscriptions Example
---------------------

[](#subscriptions-example)

- The Subscriptions API allows you create and manage recurring payment on your integration.
- ✨ examples: [Subscriptions.md](Subscriptions.md) ✨

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

1028d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a885a0810f2762586520ab284c9019aaf0b650b53cdf2a6c13ea10931bb7795?d=identicon)[Maatify](/maintainers/Maatify)

---

Top Contributors

[![megyptm](https://avatars.githubusercontent.com/u/33574895?v=4)](https://github.com/megyptm "megyptm (3 commits)")[![Maatify](https://avatars.githubusercontent.com/u/130119162?v=4)](https://github.com/Maatify "Maatify (1 commits)")

---

Tags

phpapihandlerpaystack

### Embed Badge

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

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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