PHPackages                             cletuskingdom/laravel-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. cletuskingdom/laravel-paystack

ActiveLibrary[API Development](/categories/api)

cletuskingdom/laravel-paystack
==============================

A Laravel Package for Paystack

v1.1.0(5mo ago)2195[1 issues](https://github.com/cletuskingdom/laravel-paystack/issues)MITPHPPHP ^8.2

Since Feb 1Pushed 5mo agoCompare

[ Source](https://github.com/cletuskingdom/laravel-paystack)[ Packagist](https://packagist.org/packages/cletuskingdom/laravel-paystack)[ RSS](/packages/cletuskingdom-laravel-paystack/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

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

[](#installation)

Install via Composer:

```
composer require cletuskingdom/laravel-paystack
```

Publish the config file:

```
php artisan vendor:publish --tag=paystack-config
```

Add your Paystack keys to `.env`:

```
PAYSTACK_SECRET_KEY=sk_test_xxxxxxxxxxxx
PAYSTACK_PUBLIC_KEY=pk_test_xxxxxxxxxxxx
```

Usage
-----

[](#usage)

### Using Facade

[](#using-facade)

```
use CletusKingdom\Paystack\Facades\Paystack;

// Initialize transaction
$response = Paystack::initializeTransaction([
    'email' => 'customer@email.com',
    'amount' => 10000, // Amount in Naira
]);

if (Paystack::isSuccessful($response)) {
    $url = Paystack::getAuthorizationUrl();
    return redirect($url);
}
```

### Using Dependency Injection

[](#using-dependency-injection)

```
use CletusKingdom\Paystack\Paystack;

class PaymentController extends Controller
{
    public function __construct(protected Paystack $paystack)
    {
    }

    public function pay()
    {
        $response = $this->paystack->initializeTransaction([
            'email' => 'customer@email.com',
            'amount' => 10000,
        ]);

        return redirect($this->paystack->getAuthorizationUrl());
    }
}
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance63

Regular maintenance activity

Popularity16

Limited adoption so far

Community6

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

Total

2

Last Release

153d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38631504?v=4)[Cletus Kingdom](/maintainers/cletuskingdom)[@cletuskingdom](https://github.com/cletuskingdom)

---

Top Contributors

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

---

Tags

apifinancefintechlaravellaravel-paystackmoneypaymentstransferphplaravelsdklaravel 12githubpaymentsNigeriapayment gatewaypaystackafrica

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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