Download the PHP package esyede/tiny-qrcode without Composer
On this page you can find all versions of the php package esyede/tiny-qrcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tiny-qrcode
tiny-qrcode
A tiny QR Code generator (single file, no dependencies)
Requirements:
- PHP 5.4 or newer
- PHP-GD exntension
Install
Via composer:
Manual install:
- Download the archive from the release page
- Extract the downloaded archive file
Load file
Display image
Save image
Adjust QRCode options
Altering the error correction level
Available error correction levels:
Code | Correction Level |
---|---|
L |
7% |
M |
15% (default) |
Q |
25% |
H |
30% |
Changing the image size
The size of the generated QR image can be adjusted as follows. This does not affect error correction or similar.
Changing the code version
The version of the QR code can be altered by passing options to the constructor. Note that in most cases this will result in an increase in image size.
Possible option lists:
Key | Type | Description |
---|---|---|
'version' |
integer | Set QR Code version |
'imageSize' |
integer | Set output image size |
'errorCorrectionLevel' |
string | Set error correction level |
'dataPath' |
string | Set custom stub data folder |
'imagesPath' |
string | Set custom stub images folder |
License
Released under the MIT License
All versions of tiny-qrcode with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
ext-gd Version *
ext-gd Version *
The package esyede/tiny-qrcode contains the following files
Loading the files please wait ....