|All requests||>||What is the best PHP qr code generati...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by muthuprakasht - 9 years ago (2014-10-29)
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.
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.
Actually there is this class that can generate QR Code images in pure PHP.
take a look at this new package. It provides the functionality you've asked for.
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!
1. by Manuel Lemos - 9 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 - 9 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 - 9 years ago (2014-10-31) Reply
I use the same and it works offline.