tacoberu/latte-qrcode

Latte |qrcode supporting.

v0.1.0 2024-08-18 02:20 UTC

This package is auto-updated.

Last update: 2024-09-18 02:43:49 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.