johnny13/li3_qrcode
Composer 安装命令:
composer require johnny13/li3_qrcode
包简介
KML Library for Lithium Li3 PHP
README 文档
README
QRCode for Lithium.
Installing
The installation process is simple, just place the source code in the libraries-directory and create a li3_qrcode directory:
$ cd /path/to/app/libraries
$ git clone git@github.com:nilamdoc/li3_qrcode.git
Li3_qrcode is a plugin, you can install it in your application as
Libraries::add('li3_qrcode');
Usage
In your view:
use li3_qrcode\extensions\action\Qrcode;
$qrcode->png('This is a test QR code', QR_OUTPUT_DIR.'test.png', 'H', 7, 2);
<img src="<?=QR_OUTPUT_RELATIVE_DIR;?>test.png">
Additional Configuration:
Modify QRconfig.php for changing the
QR_OUTPUT_DIR
QR_OUTPUT_RELATIVE_DIR
统计信息
- 总下载量: 68
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-11