PHPackages                             nanoblocktech/payment-gateways - 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. nanoblocktech/payment-gateways

ActiveLibrary[Payment Processing](/categories/payments)

nanoblocktech/payment-gateways
==============================

PHP class for payment gateways, using same code to process different payment merchants.

1.6(2y ago)226MITPHPPHP ^8.0

Since Dec 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nanoblocktech/payment-gateways)[ Packagist](https://packagist.org/packages/nanoblocktech/payment-gateways)[ RSS](/packages/nanoblocktech-payment-gateways/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

PHP PAYMENT GATEWAYS
====================

[](#php-payment-gateways)

Easy to use PHP payment gateway library designed for PHP 8 and above. The primary goal of this library is to facilitate seamless transitions between different payment merchants, allowing developers to switch gateways without the need for relearning of new implementation and documentation. Initialization involves specifying the preferred merchant, ensuring a smooth and consistent experience. Currently, PayStack is the starting point for this library.

Installation Guide via Composer:

```
composer require nanoblocktech/payment-gateways
```

Available Merchant Payment
--------------------------

[](#available-merchant-payment)

1. PayStack - Here you can find about PayStack API documentation to get started

Documentations
--------------

[](#documentations)

To get started see the library documentation

1. [Getting Started](docs/)
2. [Customer Management](docs/CUSTOMER.md)
3. [Customers Account Management](docs/ACCOUNT.md)
4. [Payments &amp; Transactions](docs/PAYMENT.md)
5. [Payment Charges Calculations](docs/CHARGES.md)
6. [Banks &amp; Dedicated Virtual Account](docs/BANK.md)
7. [Webhook &amp; Routing Handling](docs/HOOK.md)
8. [API Request Response](docs/RESPONSE.md)

License
-------

[](#license)

The MIT License (MIT). Please see [License](LICENSE) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~2 days

Total

7

Last Release

869d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce34af529a4ed50696211a2b4d330fbadd2d1738bc5d010523eb4a85cf342b17?d=identicon)[peterujah](/maintainers/peterujah)

---

Top Contributors

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

---

Tags

paymentpayment-gatewaypaystackphpphp-paystackphpstripebraintreepayment gatewaypaystackphp payment gatewayluminova

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nanoblocktech-payment-gateways/health.svg)

```
[![Health](https://phpackages.com/badges/nanoblocktech-payment-gateways/health.svg)](https://phpackages.com/packages/nanoblocktech-payment-gateways)
```

###  Alternatives

[cartalyst/stripe-laravel

Laravel 11 integration for the Cartalyst Stripe package.

3382.6M9](/packages/cartalyst-stripe-laravel)[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)[miracode/stripe-bundle

Symfony bundle to integrate Stripe PHP SDK. Ability to save Stripe objects in database using Doctrine.

1016.1k](/packages/miracode-stripe-bundle)[luyadev/luya-module-payment

LUYA Payment allows you to integrate payments in a safe and fast way. The module take care of all the provider required steps (call, create, success, abort, etc.) and provides all the informations for your store.

1012.1k](/packages/luyadev-luya-module-payment)

PHPackages © 2026

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