What is the best PHP qr code generation class? #qr code generate
Edit
by muthuprakasht - 10 years ago (2014-10-29)
I need php code to generate qr code offline
| Generate the qr code without using Web services or otherwise require an Internet connection, so I can have an image to add to a PDF document. |
Ask clarification
4 Recommendations
This package can generate qr code images for given data.
It provides a wrapper around Dominik Dzienia QR Code generator library to display a QR Code image in a Web page from a few parameters.
The package can take as parameters the QR code data, level and size.
| by Abhigyan Singh package author 55 - 4 years ago (2020-09-12) Comment
you can easily create QR code in any PHP application. We have created a readymade and working code using PHP QR code library to generate QR code. We have also created a working demo to help users to see a working example. |
QR SAT: Generate QRCode images in pure PHP
This class can generate QRCode images in pure PHP.
It takes a given string and generates a QRCode model 2 image that represents that string.
The generated image can be saved to a file or served as the current script output in the PNG format.
The class code is based on the work originally written by Y. Swetake.
| by Manuel Lemos 26695 - 10 years ago (2014-11-03) Comment
Actually there is this class that can generate QR Code images in pure PHP. |
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.
| by Maik Greubel package author 185 - 10 years ago (2014-11-03) Comment
Hello,
take a look at this new package. It provides the functionality you've asked for. |
Gig Cable Label: Generate label images in resistors code colours
This class can generate label images for color coded resistors.
It takes the resistance value of an electric resistor and generates an image for a page with a grid of labels that show the resistance value with the respective color code stripes, as well QR-code for the same for associated values.
The class can generate the label images. The generated images are saved to a file in the PNG format and are embedded in the generated page HTML.
It may also return a JSON encoded object with the label image dimensions and image data encoded in base64.
The size of the page and the number of labels in the grid are configurable parameters.
| by Karl Holz package author 135 - 10 years ago (2014-10-29) Comment
I used this class phpqrcode (http://phpqrcode.sourceforge.net/) in my GigCablelabel class and it allowed me to generate QR codes with little effort.
Take a look at my code and see if you can adapt it to your needs; maybe extend the class and build a shell utility for offline QR generation.
inshallah this helps you out! |
- 3 Comments
1.
by Manuel Lemos - 10 years ago (2014-10-31) Reply
It would be more useful if there was a separate class in PHP Classes for generating QR code without relying on an external Web service or having to use a larger package like yours.
2.
by Stefan Jibrail Froelich - 10 years ago (2014-10-31) Reply
I use the same thing. It works fine. Just make sure you don't try to compress the image or resize it.
3.
by Ruben Arroyo - 10 years ago (2014-10-31) Reply
I use the same and it works offline.