EasyQRCodeJS
Security covered
# INTRODUCTION
A render element for rendering a simple QR-code with the option to:
* add a logo info the rendered qr-code
* make the qr code downloadable as a png file
* change background color
* change foreground color
* define a fixed size
Usage example:
$element = [
'#type' => 'easyqrcodejs',
'#value' => 'Some text or url to encode into a QR code',
'#width' => 256,
'#height' => 256,
'#foreground' => '#000000',
'#background' => '#ffffff',
'#logo' => 'path/to/logo.png'
'#download' => 'qr-code.png',
];
Uses the easyqrcodejs js libary (https://github.com/ushelp/EasyQRCodeJS/)
# INSTALLATION
* Install as you would normally install a contributed Drupal module. Visit
https://www.drupal.org/node/1897420 for further information.
# CONFIGURATION
none
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.1 | Stable | Jul 18, 2023 |