rsthn/rose-qr

Bacon QR适配器用于Rose

维护者

详细信息

github.com/rsthn/rose-qr

源代码

问题

安装: 10

依赖: 0

建议者: 0

安全性: 0

星标: 1

关注者: 1

分支: 0

开放问题: 0

类型:rose-extension

1.0.1 2022-07-20 03:16 UTC

This package is auto-updated.

Last update: 2024-09-20 08:05:36 UTC


README

此扩展为Rose添加了QR码生成支持,使用著名的BaconQrCode库。

安装

composer require rsthn/rose-qr

表达式函数

qr::create contents:string

生成一个新的QR码并返回一个SVG图像数据字符串。

(qr::create "Hello World")

qr::uri contents:string

生成一个新的QR码并返回一个SVG数据-URI字符串。

(qr::uri "Hello World")