xinyeweb / yii2-qrcode
Jq Qrcode For Yii2
Package info
github.com/xinyeweb/yii2-qrcode
Language:JavaScript
Type:yii2-extension
pkg:composer/xinyeweb/yii2-qrcode
dev-master
2017-09-09 02:12 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-03-16 23:06:37 UTC
README
Jq Qrcode For Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist xinyeweb/yii2-qrcode "*"
or add
"xinyeweb/yii2-qrcode": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \xinyeweb\qrcode\QrCode::widget([ 'options' => [ 'id' => 'my-qrcode', 'class' => 'qrcode-class' ], 'clientOptions' => [ 'render' => 'table', 'text' => 'http://www.autozh.com' ] ]) ?>