tacoberu / latte-qrcode
Latte |qrcode supporting.
v0.1.0
2024-08-18 02:20 UTC
Requires
- php: >=7.4.0
- bacon/bacon-qr-code: ^3.0
- jeroendesloovere/vcard: ^1.7
- latte/latte: >=2.4
Requires (Dev)
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^11.0
- tracy/tracy: ^2.4
This package is auto-updated.
Last update: 2024-11-18 03:09:23 UTC
README
Latte |qrcode supporting.
Installation
The best way to install tacoberu/latte-qrcode is using Composer:
$ composer require tacoberu/latte-qrcode
Then register the extension in the config file:
# app/config/config.neon latte: extensions: - Taco\Latte\QrcodeLatteExtension
Usage
<img src="{('Hi')|qrcode}" alt="qrcode with text"/> <img src="{$contact|qrcode}" alt="qrcode with QrcodeContact"/> <img src="{$email|qrcode}" alt="qrcode with QrcodeEmail"/> <img src="{$pay|qrcode}" alt="qrcode with QrcodeSPDPay"/>
License
Latte filters is under the MIT license. See the LICENSE file for details.