A QR code (abbreviated from Quick Response code) is a type of matrix bar-code (or two-dimensional code) first designed for the automotive industry. More recently, the system has become popular outside of the automotive industry due to its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data (e.g., binary, alphanumeric, or Kanji symbols).
The amount of data that can be stored in the QR code depends on the character set, version and error correction level. The maximum values for version 40 with error correction capacity levels L, M, Q and H are:
Data Type | ECC=L | ECC=M | ECC=Q | ECC=H |
---|---|---|---|---|
Numeric only | 7,089 | 5,596 | 3,993 | 3,057 |
Alphanumeric | 4,296 characters | 3,391 characters | 2,420 characters | 1,852 characters |
Binary (8 bits) | 2,953 bytes | 2,331 bytes | 1,663 bytes | 1,273 bytes |
Kanji/Kana | 1,817 characters | 1,435 characters | 1,024 characters | 784 characters |
VeryUtils has a PHP QR Code Generator Script which can be purchased on this web page,
https://veryutils.com/php-qr-code-generator
You can also click "Live Demo" button on this web page to evaluate it online,
PHP QR Code Generator demo page also supports GET parameters:
data=qrcode string
level= L or M or Q or H
size=from 1 to 10
You can use cURL to call PHP QR Code Generator to get the QR Code,
https://veryutils.com/demo/php-qrcode/?data=https://veryutils.com&level=H&size=10
PHP QR Code Generator is a standalone PHP script, after you buy it, you will get full source code, you can integrate it into your project to generate QR Code easily.