Download the PHP package wernerkrauss/silverstripe-qr-generator without Composer
On this page you can find all versions of the php package wernerkrauss/silverstripe-qr-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wernerkrauss/silverstripe-qr-generator
More information about wernerkrauss/silverstripe-qr-generator
Files in wernerkrauss/silverstripe-qr-generator
Download wernerkrauss/silverstripe-qr-generator
More information about wernerkrauss/silverstripe-qr-generator
Files in wernerkrauss/silverstripe-qr-generator
Vendor wernerkrauss
Package silverstripe-qr-generator
Short Description A module that renders a QR-Code for the current Page / DataObject
License MIT
Package silverstripe-qr-generator
Short Description A module that renders a QR-Code for the current Page / DataObject
License MIT
Keywords extensionsilverstripe
Please rate this library. Is it a good library?
Informations about the package silverstripe-qr-generator
Silverstripe QR-Generator
Installation
composer require wernerkrauss/silverstripe-qr-generator
Requirements
- Silverstripe and Silverstripe CMS > 3.6, should work on 3.1 (untested)
How it works
At the moment this module only generates QR codes for absolute links to the current Page.
It utilizes AbsoluteLink()
to get the content to encode. The codes are cached as png files in /assets/qr/
You can either include the code inline or as a source. Both will work out of the box:
Inline QR Code
`
`
Linked Image
`
`
Todo
- More pre-defined formats with wrapper, e.g. calendar item, address...
- create a Subclass of ViewableData that wraps the generated QR code and can be modified in templates
- make cache dir configurable
- make name generation configurable; e.g. check for locale or subsites
All versions of silverstripe-qr-generator with dependencies
PHP Build Version
Package Version
Requires
silverstripe/framework Version
^3.6.0
silverstripe/cms Version ^3.6.0
endroid/qrcode Version ^2.2.3
silverstripe/cms Version ^3.6.0
endroid/qrcode Version ^2.2.3
The package wernerkrauss/silverstripe-qr-generator contains the following files
Loading the files please wait ....