PHPackages                             gituyu/jenga - 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. gituyu/jenga

ActivePackage[API Development](/categories/api)

gituyu/jenga
============

JengaPG and JengaAPI library with minimal dependancy + laravel ready.

v0.2-alpha(5y ago)18MITPHPPHP &gt;=7.1

Since Feb 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gituyu/jenga)[ Packagist](https://packagist.org/packages/gituyu/jenga)[ RSS](/packages/gituyu-jenga/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

**Installtion**
`composer require gituyu/jenga`On Laravel, do publish package files. `php artsan vendor:publish`Select `Provider: Finserve\Jenga\JengaServiceProvider` or `Tag: jenga-config`

**Usage**
In laravel controller use helper ` jengaCheckout($amount, $orderReference, $callbackurl, $custName = 'Client', $title = 'Pay Via EazzyPay',$is_sandbox = true, $website = 'NA', $extraData = 'NA', $currency = "KES", $outletCode = "0000000000")*`As used in example below,the output is a HTML string which should be injected on the checkout page. The visible part is a Payment Button that redirect to EazzyPayment Checkout Portal.After the client completes payment they are redirected back and a callback is triggered on payment update.

`$payment_button= \App\Helpers\jengaCheckout(22,'dff','https://webhook.site/0a75a3f0-b545-4ce3-8c1f-926e7bded3df','John Doe','Pay now',true);`

**Configuration**
Once you publish package files, a configuration in *config/jenga.php* is created. Alternatively: At your project root, create a .env file set these configs:

`JENGA_USERNAME=[username]`
`JENGA_PASSWORD=[password]`
`JENGA_API_KEY=[api_key]`
`JENGA_PRIVATE_KEY=[/relative/path/to/private.pem]`
`JENGA_BASE_ENDPOINT=https://uat.jengahq.io`

**NB: The package is autodiscovered by laravel:** For Laravel older version (less than 5.5) users. open the Config/App.php file and add `\Finserve\Jenga\JengaServiceProvider::class` under providers and ` 'Jenga'=> \Finserve\Jenga\JengaServiceProvider::class` under aliases.

**Forex**
It supports optional paramenters. Supported service are: [currencyconverterapi.com ](www.currencyconverterapi.com). API () Limits to 100Req/min updates are quotes upto 45min.

`getForex($baseCurrency = 'KES', $foreignCurrency = 'USD', $exchangeService = '1', $apiKey = '')`Example: `$forex=(new \Finserve\Jenga\Forex())->getForex('USD','KES');`**Callback**
Usage: `Route::get('/callback/route/here', function () { $data=\Finserve\Jenga\Callback(); //Do something });`Formated to as below:

```
{
  "customernumber": "A N Other",
  "customermobileNumber": "",
  "customerRef": null,
  "txDate": "2018-11-27 00:00:00.0",
  "txRef": " S2596405",
  "txPaymentMode": "TPG",
  "txAmount": "10",
  "txTill": null,
  "txBillNumber": "A N Other",
  "txOrderAmount": "",
  "txServiceCharge": "",
  "txServedBy": "EQ",
  "txAdditionalInfo": "MPS 254723000000 MKR35QEKV7 A N Other/537620",
  "bnkRef": " S2596405",
  "bnkTransactionType": "C",
  "bnkAccount": "0111234241028"
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

1914d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6af85c3928d134d6e67418a7305f365bf8f4b712b04bd7a6c1af15b2fdaa5fab?d=identicon)[gituyu](/maintainers/gituyu)

---

Top Contributors

[![gituyu](https://avatars.githubusercontent.com/u/20645020?v=4)](https://github.com/gituyu "gituyu (9 commits)")

---

Tags

package

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gituyu-jenga/health.svg)

```
[![Health](https://phpackages.com/badges/gituyu-jenga/health.svg)](https://phpackages.com/packages/gituyu-jenga)
```

###  Alternatives

[pear2/net_routeros

This package allows you to read and write information from a RouterOS host using MikroTik's RouterOS API.

248111.7k4](/packages/pear2-net-routeros)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[edujugon/laradoo

Odoo ERP API for Laravel

16468.6k](/packages/edujugon-laradoo)[bmatovu/laravel-mtn-momo

Laravel MTN MOMO integration.

14310.9k](/packages/bmatovu-laravel-mtn-momo)[joggapp/laravel-aws-sns

Laravel package for the SNS events by AWS

3171.8k](/packages/joggapp-laravel-aws-sns)[nikolag/laravel-square

Square API integration with Laravel built on nikolag/core

3827.3k](/packages/nikolag-laravel-square)

PHPackages © 2026

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