reliva/nexgen

NexGen Payment Gateway Integration for Laravel

Maintainers

Package info

github.com/Reliva-Technology/nexgen-laravel

pkg:composer/reliva/nexgen

Statistics

Installs: 45

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2026-02-23 09:41 UTC

This package is auto-updated.

Last update: 2026-03-23 10:01:15 UTC


README

Laravel package for the Nexgen Payment Gateway API: Online Banking, MPGS and Duitnow Dynamic QR.

Source: github.com/Reliva-Technology/nexgen-laravel

Features

  • Collections & billings — Create collections, create billings, get payment URLs for Online Banking / MPGS
  • QR payments — Terminals and dynamic QR codes for Duitnow Dynamic QR
  • Environments — Sandbox, production, and custom (Online banking / MPGS); production and custom (Duitnow Dynamic QR)
  • PHP 8.1+, Laravel 8.0+, API key/secret authentication

Requirements

  • PHP >= 8.1
  • Laravel >= 8.0
  • Composer

Installation

composer require reliva/nexgen
php artisan vendor:publish --tag=nexgen-config

Add the required environment variables to .env (see docs/installation.md for the full list and options).

Quick start

Collections & billings (Online Banking / MPGS):

use Reliva\Nexgen\NexgenClient;

    protected NexgenClient $client;

    public function __construct()
    {
        $this->client = new NexgenClient();
    }
 

QR payments (DuitNow Dynamic QR):

use Reliva\Nexgen\NexgenQRClient;

    protected NexgenQRClient $client;

    public function __construct()
    {
        $this->client = new NexgenQRClient();
    }

Documentation

Full documentation is in the docs/ folder. Recommended flow:

# Document Description
1 Installation Install and configure the package
2 Usage NexgenClient & NexgenQRClient setup and usage
3 DuitNow Collections & billings (link-based payments)
4 DuitNow QR Terminals & dynamic QR payments
5 Webhooks Handling payment callbacks

The docs cover all API methods, parameters, response handling, and error handling.

License

This package is open-sourced software licensed under the MIT license.

Changelog

See CHANGELOG for changes.