PHPackages                             zarulizham/laravel-duitnow-qr - 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. zarulizham/laravel-duitnow-qr

ActiveLibrary[Payment Processing](/categories/payments)

zarulizham/laravel-duitnow-qr
=============================

Malaysia's National QR Payment repository for Laravel

1.0.6(2mo ago)46.0k↓21.9%3[2 PRs](https://github.com/zarulizham/laravel-ambank-duitnow-qr/pulls)MITPHPPHP ^8.0CI failing

Since Sep 4Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/zarulizham/laravel-ambank-duitnow-qr)[ Packagist](https://packagist.org/packages/zarulizham/laravel-duitnow-qr)[ Docs](https://github.com/zarulizham/laravel-duitnow-qr)[ GitHub Sponsors](https://github.com/ZarulIzham)[ RSS](/packages/zarulizham-laravel-duitnow-qr/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (20)Versions (11)Used By (0)

AmBank Malaysia's National QR Payment repository for Laravel
============================================================

[](#ambank-malaysias-national-qr-payment-repository-for-laravel)

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

[](#installation)

You can install the package via composer:

```
composer require zarulizham/laravel-duitnow-qr
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-duitnow-qr-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-duitnow-qr-config"
```

This is the contents of the `.env` file:

```
DUITNOW_QR_CLIENT_ID=
DUITNOW_QR_CLIENT_SECRET=
DUITNOW_QR_CHANNEL_TOKEN=
DUITNOW_QR_PREFIX_ID=
DUITNOW_QR_QR_ID=
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-duitnow-qr-views"
```

You can also publish the callback controller stub to your app:

```
php artisan vendor:publish --tag="laravel-duitnow-qr-controllers"
```

Usage
-----

[](#usage)

```
$duitNowQR = new ZarulIzham\DuitNowQR();
```

### Dashboard SPA (Transactions &amp; Payments)

[](#dashboard-spa-transactions--payments)

This package now provides a gated dashboard with Vue.js components and Bootstrap 5.3.

- Transactions page: list all transactions and open a transaction details page (with related payments).
- Payments page: list all payments with optional filters by `biz_id` or `end_id`.

Default URL:

```
/duitnow-qr/dashboard

```

Set your access gate (for example in `AppServiceProvider::boot`):

```
use DuitNowQR;

DuitNowQR::auth(function ($request) {
	return $request->user()
		&& $request->user()->role('Programmer');
});
```

> Dashboard and dashboard API access are denied by default. You must configure `DuitNowQR::auth(...)` and return `true` for authorized users. Dashboard API endpoints still require an authenticated user.

Dashboard route settings are configurable in `config/duitnowqr.php`:

```
'dashboard' => [
	'path' => env('DUITNOW_QR_DASHBOARD_PATH', 'duitnow-qr/dashboard'),
	'middleware' => ['web'],
],
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance86

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.6% 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 ~97 days

Recently: every ~15 days

Total

8

Last Release

73d ago

### Community

Maintainers

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

---

Top Contributors

[![zarulizham](https://avatars.githubusercontent.com/u/10229855?v=4)](https://github.com/zarulizham "zarulizham (50 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelzarulizhamlaravel-duitnow-qr

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/zarulizham-laravel-duitnow-qr/health.svg)

```
[![Health](https://phpackages.com/badges/zarulizham-laravel-duitnow-qr/health.svg)](https://phpackages.com/packages/zarulizham-laravel-duitnow-qr)
```

###  Alternatives

[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

7812.3k](/packages/danestves-laravel-polar)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[creagia/laravel-redsys

Laravel Redsys Payments Gateway

2013.6k](/packages/creagia-laravel-redsys)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

188.5k](/packages/tarfin-labs-event-machine)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

1312.2k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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