|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 74%||Total: 1,138 ||All time: 3,304 This week: 102|
This package can generate QR Code images in pure PHP.
The main class can take a given string of data and generates the matrix of QR Code points. The type of QR code and error correction level are configurable parameters.
A separate class can render the generated QR Code and render it as a JPEG image of a given width and height. The generated image is return as a string of JPEG image data.
This package is inspired on Jerome Etienne jQuery plugin.
* This file is part of the phpQr package
* See @see QRCode class for description of package and license.
$code = new QRCode(-1, QRErrorCorrectLevel::H);
$img = new QRCodeImage($code, 256, 256, 10);
catch (Exception $ex)
echo $ex->getMessage() . "\n";
echo $ex->getTraceAsString() . "\n";
phpQr - A QRCode encoder class
by Maik Greubel (firstname.lastname@example.org)
The intention to create a basic qrcode encoder for PHP was a request on phpclasses.org.
The author studied multiple sources to get an idea how qrcode implementation works under the hood.
See source and documentation at <https://github.com/jeromeetienne/jquery-qrcode>
So the hard work was already done by Jerome Etienne. My part was only to port it to PHP code.
Currently this package does not have the capability to read QRCodes.
For a detailed description of QRCode and its features please check <http://www.qrcode.com/>
QR Code is registered trademark of
DENSO WAVE INCORPORATED <http://www.denso-wave.com/qrcode/faqpatent-e.html>
All files in the package are published under the terms of the BSD 2 License. <http://opensource.org/licenses/BSD-2-Clause>
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.