PHPackages                             rixtrayker/ngenius - 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. rixtrayker/ngenius

ActiveLibrary

rixtrayker/ngenius
==================

Laravel wrapper for Network international payment gateway

1.2(1y ago)0146MITPHPPHP ^8.0

Since Dec 19Pushed 1y agoCompare

[ Source](https://github.com/rixtrayker/ngenius)[ Packagist](https://packagist.org/packages/rixtrayker/ngenius)[ RSS](/packages/rixtrayker-ngenius/feed)WikiDiscussions master Synced 1mo ago

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

Network International - Ngenius Payment Gateway Wrapper For Laravel
===================================================================

[](#network-international---ngenius-payment-gateway-wrapper-for-laravel)

jeybin/networkintl is a wrapper package or in other words a helper package for implementing the Network International (NGENIUS) payment gateway in Laravel Projects.

Features
--------

[](#features)

- Easier create order
- Webhook helpers

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

[](#installation)

Requires PHP v8.0+ to run. Requires Laravel 9.0+ to run.

Install the rixtrayker/ngenius using the command

```
composer require rixtrayker/ngenius
```

After installation publish the config and service providers using

```
php artisan ngenius:install
```

Once everything publishes, run the migration command to create the required tables

```
php artisan ngenius:migrate
```

If you want to copy the Job files from the package run the command below, this will create the Jobs files required for the webhook listener. (path : App\\Jobs\\NgeniusWebhooks)

```
php artisan ngenius:ngenius-webhooks
```

Once all the installation procedures are done there will be two tables available in your database one will be called as `ngenius_gateway` this table holds the configurations for the gateway

ColumnsDescriptionidAuto increment value (Primary Key) of the tableactive1 or 0 for assigning the active gateway if have multipletypeThe type of configuration, accepting values are live/sandboxapi\_keyApi from network internationalreference\_idReference id from Network internationalbase\_urlApi base url (different base urls in live and sandbox)Other table is `ngenius_gateway_webhooks` this table will save the data received in the webhook URL.

ColumnsDescriptionidAuto increment value (Primary Key) of the tableevent\_idEvent id (payload-&gt;eventId)event\_nameEvent name (payload-&gt;eventName)order\_referenceOrder reference (payload-&gt;order-&gt;reference)merchant\_order\_referenceMerchant order reference (payload-&gt;order-&gt;merchantOrderReference)emailEmail of the payer (payload-&gt;order-&gt;emailAddress)currencyPayment currency (payload-&gt;order-&gt;amount-&gt;currencyCode)amountPayment amount (payload-&gt;order-&gt;amount-&gt;amount)payloadFull payload data received inside the webhook url in JSON format (payload)exceptionSave exception if anyUsage
-----

[](#usage)

To create purchase order import `use Jeybin\Networkintl\Ngenius` to the class

```
Ngenius::type('create-order')
       ->request($paymentUrlRequest)
       ->execute()
       ->json()
```

The payment request `($paymentUrlRequest)` is an array with following keys.

KeyDescriptionamountPayment amount in merchant currencypayer\_emailEmail address of the payerorder\_referenceMerchant order reference numberredirect\_urlRedirection path once the payment is successedcancel\_urlRedirection path once the payment is cancelledcancel\_textThe text need to be shown in the cancel buttonmerchant\_definedArray of details you want like to pass like product name etclanguageGateway language, default is English, allowed parameters `en`,`ar` and `fr`billingRequired, Array of billing array details parameters are `first_name`, `last_name` , `address`,`city`,`country`skip\_confirmation\_pageBoolean value, by default `false`skip3DSBoolean value, by default `false`To check the status of an order simply pass `order-status` as type with order reference number in the request

```
       Ngenius::type('order-status')
              ->request('order-reference-number')
              ->execute()
              ->json();
```

Reference
---------

[](#reference)

- [Laravel Official Documentation](https://laravel.com/docs/9.x/installation)
- [Laravel Http Client](https://laravel.com/docs/9.x/http-client)
- [Laravel Jobs](https://laravel.com/docs/9.x/queues#creating-jobs)
- [Network International Payment Gateway Documentation](https://docs.ngenius-payments.com)
- [Network International Payment Gateway Webhooks](https://docs.ngenius-payments.com/reference/consuming-web-hooks)

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance40

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

507d ago

### Community

Maintainers

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

---

Top Contributors

[![Aditha-Sansa](https://avatars.githubusercontent.com/u/11178783?v=4)](https://github.com/Aditha-Sansa "Aditha-Sansa (6 commits)")[![jeybin](https://avatars.githubusercontent.com/u/32933024?v=4)](https://github.com/jeybin "jeybin (3 commits)")

### Embed Badge

![Health badge](/badges/rixtrayker-ngenius/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[nutgram/nutgram

The Telegram bot library that doesn't drive you nuts

714214.9k8](/packages/nutgram-nutgram)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)

PHPackages © 2026

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