Download the PHP package farzai/promptpay without Composer
On this page you can find all versions of the php package farzai/promptpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download farzai/promptpay
More information about farzai/promptpay
Files in farzai/promptpay
Package promptpay
Short Description PromptPay QR Code Generator
License MIT
Homepage https://github.com/farzai/promptpay-qr-php
Informations about the package promptpay
PromptPay QR Code Generator - PHP
This library that allows you to create PromptPay QR codes. You can generate a QR code for receiving payments through PromptPay, which is a popular payment method in Thailand.
Requirements
- PHP 8.0 or higher
Installation (For CLI)
You can install the package globally via composer:
Make sure to place Composer's system-wide vendor bin directory in your $PATH so the promptpay executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:
For macOS
For GNU / Linux Distributions
For Windows
Usage
For example, to generate a QR code for receiving 100 THB from the phone number 0988888888:
Installation (For PHP Application)
You can install the package via composer:
Usage
For example, to generate a QR code for receiving 100 THB from the phone number 0988888888:
Or you can save the QR code to a file:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- parsilver
- All Contributors
License
The MIT License (MIT). Please see License File for more information.