A webdna plugin for Craft CMS designed to generate QR codes.

QR codes have a wide range of uses and continue to grow in popularity. This plugin allows you to generate a QR code using a field type, variable or twig filter.

All instances of QRCode accept the following parameters:

  1. Data: the data for the code.
  2. Size: the size in pixels (default: 300)

Using QRCode

Fieldtype: In the fieldtype settings, you can use twig to dynamically get properties of the element that it is set on. eg on a user element:

    {"name":"{{ user.fullName }}"}

Twig variables:

    {{ craft.qrcode.generate(1234567890) }}

    {{ craft.qrcode.generate({"name":"John Smith"}, 100) }}

Twig Filters:

    {{ 1234567890|qrcode }}

    {{ {"name":"John Smith"}|qrcode(100) }}
Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
342
Version
1.0.6
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
June 10, 2022
Categories
Activity (30 days)
3
Closed Issues
0
Open Issues
1
Merged PRs
0
Open PRs