Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odai-alali/yii2-qrcode-reader
Yii2 widget for reading qr code using laptop or phone camera
https://github.com/odai-alali/yii2-qrcode-reader
Last synced: 15 days ago
JSON representation
Yii2 widget for reading qr code using laptop or phone camera
- Host: GitHub
- URL: https://github.com/odai-alali/yii2-qrcode-reader
- Owner: odai-alali
- Created: 2015-03-31T20:37:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T09:17:39.000Z (over 7 years ago)
- Last Synced: 2024-10-04T19:22:52.395Z (about 1 month ago)
- Language: PHP
- Size: 18.6 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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 cameraInstallation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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 :
```php
echo odaialali\qrcodereader\QrReader::widget([
'id' => 'qrInput',
'successCallback' => "function(data){ $('#qrInput').val(data) }"
]);```