PHPackages                             fena/toolkit-php-payment-sdk - 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. fena/toolkit-php-payment-sdk

ActiveLibrary[Payment Processing](/categories/payments)

fena/toolkit-php-payment-sdk
============================

SDK for working with Fena Toolkit payment APIs.

v1.0.0(2y ago)02.2k↑36%MITPHP

Since Mar 12Pushed 5mo agoCompare

[ Source](https://github.com/fena-co/toolkit-php-sdk)[ Packagist](https://packagist.org/packages/fena/toolkit-php-payment-sdk)[ RSS](/packages/fena-toolkit-php-payment-sdk/feed)WikiDiscussions develop Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Fena Toolkit PHP Payment SDK
============================

[](#fena-toolkit-php-payment-sdk)

SDK for working with toolkit payment APIs.

Documentation
-------------

[](#documentation)

Full documentation can be found at:

Requirements
------------

[](#requirements)

PHP 7.2.0 and later.

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

[](#installation)

You can install the bindings via Composer. Run the following command:

```
composer require fena/toolkit-php-payment-sdk
```

To use the bindings, use Composer's autoload:

```
require_once('vendor/autoload.php');
```

Dependencies
------------

[](#dependencies)

- [`json`](https://secure.php.net/manual/en/book.json.php)
- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)

Getting Started
---------------

[](#getting-started)

Simple new payment looks like:

```
use Fena\PaymentSDK\Connection;
use Fena\PaymentSDK\Payment;

$connection = Connection::createConnection(
    $integrationId = '8afa74ae9fe8be53db50',
    $integrationSecret = '55d7d5ed-be22-4321-bb3f-aec8524d8be2'
);

$payment = Payment::createPayment(
    $connection,
    $amount = '10.00'
    $reference = 'AA-11',
    $bankId = '8afa74ae9fe8be53db50'
);

$payment->process();
```

**Optional: Set User or Pre Selected Provider For New Payment**

```
use Fena\PaymentSDK\Connection;
use Fena\PaymentSDK\Payment;
use Fena\PaymentSDK\Provider;
use Fena\PaymentSDK\User;

$connection = Connection::createConnection($terminalId, $terminalSecret);
$payment = Payment::createPayment(
    $connection,
    $amount = '10.00',
    $reference = 'AA-11',
    $bankId = '8afa74ae9fe8be53db50'
);

$user = User::createUser(
    $email = 'john.doe@test.com',
    $firstName = 'John',
    $lastName = 'Doe',
    $contactNumber = '07000845953'
);
$payment->setUser($user);

$provider = Provider::createProvider(
    $providerId = 'lloyds-bank',
    $sortCode = '123456',
    $accountNumber = '12345678'
);
$payment->setProvider($provider);
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance49

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

844d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fena-toolkit-php-payment-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/fena-toolkit-php-payment-sdk/health.svg)](https://phpackages.com/packages/fena-toolkit-php-payment-sdk)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

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