3

I saw some online qr code generators such as https://dashboard.unitag.io/ and I was wondering how they do it. Is it possible to do that in PHP? If so, how would I manage to do that? (I know there are some APIs to create colored QR codes and insert images into it, but I never found any that could change the 'shape' of the QR code...)

LCastr0
  • 49
  • 5
  • 2
    Possible duplicate of [Dynamically generating a QR code with PHP](http://stackoverflow.com/questions/5943368/dynamically-generating-a-qr-code-with-php) – Panda Mar 13 '16 at 02:25
  • Possible Duplicate Of - http://stackoverflow.com/questions/5943368/dynamically-generating-a-qr-code-with-php – Ikari Mar 13 '16 at 02:25
  • This question possibly belongs on [Software Recommendations](http://softwarerecs.stackexchange.com) – Tom Mar 13 '16 at 02:42

1 Answers1

1

I would look into a library called PHP QR Code. It's open source and is pretty simple to use,

QRcode::png('code data text', 'filename.png'); // creates file 
QRcode::png('some othertext 1234'); // creates code image and outputs it directly into browser

If you're looking for a library with a little more functionality, check out Advanced Custom QR Code Generator. It costs $35 but gives you the ability to work with shapes, colors, and even embed logos.

Tom
  • 1,223
  • 1
  • 16
  • 27