Download the PHP package codeages/qrcode without Composer
On this page you can find all versions of the php package codeages/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 in an easy way and provides a Symfony bundle for rapid integration in your project.
Installation
Use Composer to install the library.
Usage
Symfony integration
Register the Symfony bundle in the kernel.
The bundle makes use of a factory to create QR codes. The default parameters applied by the factory can optionally be overridden via the configuration.
The readability of a QR code is primarily determined by the size, the input
length, the error correction level and any possible logo over the image. The
validate_result
option uses a built-in reader to validate the resulting
image. This does not guarantee that the code will be readable by all readers
but this helps you provide a minimum level of quality. Take note that the
validator can consume quite an amount of resources and is disabled by default.
Now you can retrieve the factory from the service container and create a QR code. For instance in your controller this would look like this.
Add the following section to your routing to be able to handle QR code URLs. This step can be skipped if 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 followed by any of the supported extensions.
Twig extension
The bundle provides a Twig extension for generating a QR code URL, path or data URI. You can use the second argument of any of these functions to override any defaults defined by the bundle or set via your configuration.
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.7|^3.0
bacon/bacon-qr-code Version ^1.0
khanamiryan/qrcode-detector-decoder Version ^1.0
symfony/property-access Version ^2.7|^3.0
myclabs/php-enum Version ^1.5