PHP Classes

What is the best PHP qr code generation class?: I need php code to generate qr code offline

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP qr code generati...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP qr code generation class?

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of muthuprakasht by muthuprakasht - 10 years ago (2014-10-29)

I need php code to generate qr code offline

This request is clear and relevant.
This request is not clear or is not relevant.

+8

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

PHP QR Code Generator Page: Generate qr code images for given data

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.
This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Abhigyan Singh by Abhigyan Singh package author package author Reputation 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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+4

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 10 years ago (2014-11-03) Comment

Actually there is this class that can generate QR Code images in pure PHP.


PHP QR Code Generator: 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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Maik Greubel by Maik Greubel package author package author Reputation 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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Karl Holz by Karl Holz package author package author Reputation 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. Picture of Manuel Lemos 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. Picture of Stefan Jibrail Froelich 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. Picture of Ruben Arroyo by Ruben Arroyo - 10 years ago (2014-10-31) Reply

    I use the same and it works offline.


Recommend package
: 
: