collabore-link/assets/tools/qrcode-url
2023-01-09 23:38:48 +01:00
..
lib Add source code 2023-01-09 23:38:48 +01:00
index.php Add source code 2023-01-09 23:38:48 +01:00
README.md Add source code 2023-01-09 23:38:48 +01:00

QRCode-URL

2015 - Timo van Neerden

This is QRCode-URL, a PHP based QRCode generator based on PHP-QRCode by Dominik Dzienia.

Requirements

  • PHP 5.3
  • PHP GD (for image generation);

Installation

Usage

Create a QR-Code using this format : http://example.com/qrcode/?q=DATATEXT&s=SIZE&l=LEVEL&b=BORDERSIZE

Where the parameters are:

  • q (required) : Your text. The data you want to put in the QRCode. Keep out of url-encoding !
  • s (optionnal): An integer between 1 and 20. Defines the size of the “pixels” in the QRCode. Default: 4.
  • l (optionnal): One of L, M, Q or H. Defines the error-correction level in the data. L is lowest (smaller image), H is highest (larger image). Default: M.
  • b (optionnal): An integer between 1 and 20. Defines the white border width of the QRCode (may be given, but should be left empty). Default: 4.

Acknowledgments

QRCode-URL is based on PHP-QRCode by Dominik Dzienia, a free PHP QRCode lib. http://sourceforge.net/projects/phpqrcode/

QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other countries.