Download the PHP package xj/yii2-qrcode-widget without Composer
On this page you can find all versions of the php package xj/yii2-qrcode-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-qrcode-widget
yii2-qrcode-widget
composer.json
example:
// For Widget + Actions// the Action Parts // Below 2 pars is Blacklist and Whilelist, choose one are ok.
Action:
php // for the while list public function actions() { return [ //allow widget set size & margin & ecLevel 'qrcode' => [ 'class' => QRcodeAction::className(), //you can disable cache 'enableCache' => true, // 'allowClientEclevel' => true, 'ecLevel' => QRcode::QR_ECLEVEL_H, // 'defaultSize' => 4, 'allowClientSize' => true, 'maxSize' => 10, // 'defaultMargin' => 2, 'allowClientMargin' => true, 'maxMargin' => 10, 'outputDir' => '@webroot/upload/qrcode',
//closure, you can ignore this selection.
'onGetFilename' => function (QRcodeAction $data) {
/* @var $data QRcodeAction */
//dosomething
return sha1($data->text) . '.png';
}
]
];
}
All versions of yii2-qrcode-widget with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package xj/yii2-qrcode-widget contains the following files
Collapse All