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"
$duitNowQR = new ZarulIzham\DuitNowQR();
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.