zarulizham/laravel-duitnow-qr
Larablocks Analysis
zarulizham/laravel-duitnow-qr works with Laravel 9 to 13 (latest release 1.0.10, Sep 2, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Sep 2, 2026)
- 316 downloads a month (needs 10,000)
- 5 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Sep 2, 2026.
- 9 releases in the last 12 months.
- First released: Aug 24, 2024.
- Monthly downloads: 316.
- 3 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require zarulizham/laravel-duitnow-qr |
|
| Latest Version: | 1.0.10 |
| PHP: | ^8.0 |
| Laravel: | 9 – 13 |
| License: | MIT |
| Last Updated: | Sep 2, 2026 |
| Links: | GitHub · Packagist |
AmBank Malaysia's National QR Payment repository for Laravel
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
$duitNowQR = new ZarulIzham\DuitNowQR();
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_idorend_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 returntruefor 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
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.10 | ^8.0 | ^9.0| | MIT | |
| 1.0.9 | ^8.0 | ^9.0| | MIT | |
| 1.0.8 | ^8.0 | ^9.0| | MIT | |
| 1.0.7 | ^8.0 | ^9.0| | MIT | |
| 1.0.6 | ^8.0 | ^9.0| | MIT | |
| 1.0.5 | ^8.0 | ^9.0| | MIT | |
| 1.0.4 | ^8.0 | ^9.0| | MIT | |
| 1.0.3 | ^8.0 | ^9.0| | MIT | |
| 1.0.2 | ^8.0 | ^9.0| | MIT | |
| 1.0.1 | ^8.0 | ^9.0| | MIT | |
| 1.0.0 | ^8.0 | ^9.0| | MIT |