PHPackages                             jtad009/cakephp-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. jtad009/cakephp-paystack

ActiveCakephp-plugin

jtad009/cakephp-paystack
========================

Paystack plugin for CakePHP

291PHP

Since Feb 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jtad009/cakephp-paystack)[ Packagist](https://packagist.org/packages/jtad009/cakephp-paystack)[ RSS](/packages/jtad009-cakephp-paystack/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Cakephp-Paystack
================

[](#cakephp-paystack)

A Cakephp 3.x Plugin for making paystack payments Installation PHP 5.4+ , and Composer are required.

To get the latest version of Cakephp Paystack, simply require it

```

```

Or add the following line to the require block of your composer.json file.

```

```

You'll then need to run composer install or composer update to download it and have the autoloader updated.

\##General payment flow

Though there are multiple ways to pay an order, most payment gateways expect you to follow the following flow in your checkout process:

\###1. The customer is redirected to the payment provider After the customer has gone through the checkout process and is ready to pay, the customer must be redirected to site of the payment provider.

The redirection is accomplished by submitting a form with some hidden fields. The form must post to the site of the payment provider. The hidden fields minimally specify the amount that must be paid, the order id and a hash.

\##Usage Open your config/path.php file and add your public key, secret key, merchant email and payment url like so:

```

```

\##Simple Example on how to pay with this plugin --Let's say a cutomer wants to pay for sms

Step 1: Include the following code into your AppController.php to load the paystack component

```

```

Step 2:create view using the following code

```

```

Step 3: in your controller create an action, mine will be PurchaseSMS()

```

```

\##Todo Charge Returning Customers Add Comprehensive Tests Implement Transaction Dashboard to see all of the transactions in your Cakephp app List/add Customers Create/fetch/update Payment plans Get all transaction history Manage Subsctiptions Export Transactions as csv

\##How can I thank you? Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to follow me on [LinkedIn](http://linkedin.com/in/israel-edet)

Thanks! Israel Edet.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

cakephpcakephp-paystack-componentcakephp-paystack-plugincakephp-pluginpaystackpaystack-cakephppaystack-librarypaystack-php

### Embed Badge

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

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

PHPackages © 2026

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