zarulizham/laravel-duitnow-qr

Malaysia's National QR Payment repository for Laravel

1.0.1 2024-08-24 09:21 UTC

README

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"

Usage

$duitNowQR = new ZarulIzham\DuitNowQR();

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.