This project leverages the Google QR Code Generator from their charts API to display a block containing a QR code for the current URL you are viewing. It is simple, straight forward, and should largely work right out of the box. The Drupal 8 branch is under semi-active development. The D7 isn't so much as it's so simple it just works. If you need further development help with this, feel free to open an issue. If you need your issue resolved promptly, reach out to me as I can probably find a developer for hire to help with your specific issue.

Installation:

Get the module onto your server by whatever means you see best fit (Drupal install, FTP, SSH, git checkout... whatever works) and enable the module. No other API's needed. No module dependencies. The goal here is simple!

Configuration:

Navigate to config/system/googleqrcode in Drupal 7 to adjust the settings, or in Drupal 8 navigate to admin/config/user-interface/google-qr-code. The current settings are fairly simple and straight forward. You can choose whether to have the QR code render on page load or when a link is clicked (reduces initial page-load by 1 HTTP request), along with the height and width. There are some limitations for Google charts, such as a maximum size of 1000px on either dimension, and a total max size of 300,000px. There is form validation in place however to prevent you from trying to generate a QR code that Google will never return.

Usage:

Simply enable the module, then go to blocks. Place the Google QR Code Generator block to the correct location. It will display the QR code or QR code link (if generating on click) for the current viewed URL.

More Advanced Alternatives:

Other modules currently do exist delivering more advanced functionality than this, at least in D7 they do. At the time of this last update this was all for D8. When you need a quick and simple solution in D7 though the other modules are overkill and you will spend useful time on them that you may not have needed to spend if all you need is a simple QR code. These are the alternative modules I am aware of at this time:

  • Barcode: D7 only at this time. Will generate QR codes, and barcodes.. and a bunch of other stuff. Not nearly as simple as this project.
  • Mobile Codes: D7 only at this time. Lots of customization and options... so it won't work right out of the box for darn near anything, but it will allow for significantly more customized output and placement and a diverse set of API choices.
  • QR Codes: Sounds good right? It was last built in D6 which is end of lifed and thus it's dead done and over with..
Supporting organizations: 
TNG sponsored all development of the 8.x.1-0 initial released

Project information

Releases