chailong / phpqrcode
There is no license information available for the latest version (dev-master) of this package.
phpqrcode package
dev-master
2017-12-20 03:27 UTC
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2025-06-22 09:15:41 UTC
README
To install this library please follow the next steps:
Install the library using composer
:
Add the required module to your composer.json
file:
{
"require": {
...
"chailong/phpqrcode": "dev-master"
...
}
}
Then run the command composer update
.
Usage
Sample code:
\PHPQRCode\QRcode::png("Test", "/tmp/qrcode.png", 'L', 4, 2);
\PHPQRCode\QRcode::jpg("Test", "/tmp/qrcode.png", 'L', 4, 2);
\PHPQRCode\QRcode::jpeg("Test", "/tmp/qrcode.png", 'L', 4, 2);