THIS REPO IS ONLY FOR EXPIREMENT, DO NOT USE IN REAL PROJECTS
Yii2 QR Code Reader ¶
Yii2 widget for reading qr code using laptop or phone camera
Installation ¶
The preferred way to install this extension is through composer.
Either run
php composer.phar require odaialali/yii2-qrcode-reader "*"
or add
"odaialali/yii2-qrcode-reader": "*"
to the require section of your composer.json file.
Usage ¶
Once the extension is installed, simply use it in your code by :
echo odaialali\qrcodereader\QrReader::widget([
'id' => 'qrInput',
'successCallback' => "function(data){ $('#qrInput').val(data) }"
]);
User Contributed Notes 1
This extension is not functional. Last modified 5 years ago. A really working Javascript extension https://github.com/mebjas/html5-qrcode which is constantly evolving. It is unclear why it was not included in the list of possible extensions.
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.