Download the PHP package barretzhi/qrcode without Composer
On this page you can find all versions of the php package barretzhi/qrcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package qrcode
QR Code
By endroid
This library helps you generate QR codes.
Installation
Use Composer to install the library.
Usage
Symfony integration
Register the Symfony bundle in the kernel.
The default parameters can be overridden via the configuration.
Alpha channel available range is [0, 127] in foreground and background colors.
Now you can retrieve the factory as follows.
Add the following section to your routing to be able to handle QR code URLs. This step can be skipped when you only use data URIs to display your images.
After installation and configuration, QR codes can be generated by appending the QR code text to the url as mounted, followed by .png, .jpg or .gif.
Twig extension
The bundle also provides a Twig extension for quickly generating QR code urls. Optional parameters are extension, size, quiet zone and errorCorrectionLevel. When a parameter is omitted, the value in the bundle configuration is used.
You can also use the data URI helper to embed the QR code within your HTML instead of requiring a separate HTTP request to load your image.
Versioning
Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.
License
This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code.
All versions of qrcode with dependencies
ext-gd Version *
symfony/options-resolver Version ^2.3|^3.0
bacon/bacon-qr-code Version ^1.0