PHPackages                             genuka/pay-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. genuka/pay-sdk

ActiveLibrary[Payment Processing](/categories/payments)

genuka/pay-sdk
==============

Server-side PHP SDK for the Genuka Pay API.

v0.1.5(1mo ago)1160proprietaryPHPPHP ^8.2CI passing

Since May 10Pushed 1mo agoCompare

[ Source](https://github.com/usegenuka/genuka-pay-sdk-php)[ Packagist](https://packagist.org/packages/genuka/pay-sdk)[ RSS](/packages/genuka-pay-sdk/feed)WikiDiscussions main Synced 3w ago

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

Genuka Pay PHP SDK
==================

[](#genuka-pay-php-sdk)

Server-side PHP SDK for the Genuka Pay API.

Do not use this SDK in frontend code. It signs requests with your application `secretKey`.

Install
-------

[](#install)

```
composer require genuka/pay-sdk
```

Usage
-----

[](#usage)

```
use Genuka\Pay\GenukaClient;

$genuka = new GenukaClient(
    publicKey: getenv('GENUKA_PUBLIC_KEY'),
    secretKey: getenv('GENUKA_SECRET_KEY'),
);

$payin = $genuka->payins()->create([
    'amount' => 2000,
    'currency' => 'XAF',
    'payer_phone' => '+237694010263',
    'operator_code' => 'ORANGE_MONEY',
    'metadata' => [
        'order_id' => 'ORD-1001',
    ],
]);
```

By default, the SDK targets `https://api-pay.genuka.com`. Pass `baseUrl` to use another environment.

API
---

[](#api)

```
$genuka->payins()->create($payload, idempotencyKey: 'order-1001');
$genuka->payins()->list(['per_page' => 20]);
$genuka->payins()->checkStatus('track-xxx');

$genuka->payouts()->create($payload, idempotencyKey: 'payout-1001');
$genuka->payouts()->list(['per_page' => 20]);
$genuka->payouts()->get('payout-id');
$genuka->payouts()->cancel('payout-id');

$genuka->checkout()->create($payload);
$genuka->checkout()->get('checkout-token');
```

Phone numbers must be international E.164 style, for example `+237694010263`, `+241...`, `+235...`.

Authentication
--------------

[](#authentication)

The SDK signs every request with:

```
timestamp + HTTP_METHOD + path_with_query + raw_body

```

Headers sent:

```
X-Public-Key: pk_live_xxx
X-Timestamp: 1778353137
X-Signature: hmac_sha256_hex
Content-Type: application/json
```

Development
-----------

[](#development)

```
composer install
composer test
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity17

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

Every ~6 days

Total

6

Last Release

46d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/229908485?v=4)[Genuka, Inc.](/maintainers/usegenuka)[@usegenuka](https://github.com/usegenuka)

---

Top Contributors

[![jiordiviera](https://avatars.githubusercontent.com/u/157500676?v=4)](https://github.com/jiordiviera "jiordiviera (8 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/genuka-pay-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/genuka-pay-sdk/health.svg)](https://phpackages.com/packages/genuka-pay-sdk)
```

###  Alternatives

[pagseguro/php

Biblioteca de integração com o PagSeguro

23260.3k6](/packages/pagseguro-php)[dinkbit/conekta-cashier

Dinkbit Cashier nos da una interface para cobrar subscripciones con Conketa en Laravel.

365.4k](/packages/dinkbit-conekta-cashier)[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.4k](/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)
