mr4-lc / code-scanner
Laravel bar code, qr code scanner
Installs: 133
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=7.0.0
Requires (Dev)
- phpunit/phpunit: >=6.0
README
This is a laravel
component that integrates [Scan BarCode and QRCode].
Feature:
- Load all camera device.
- Support single scan
- Support continue
- Support BarCode, QRCode
Screenshot
Installation
composer require mr4-lc/code-scanner php artisan vendor:publish --tag=mr4-lc-code-scanner --force
Configuration
Usage
<x-mr4-lc.code-scanner id='code' mode='continue'/>
Hidden input: code (scan result) and code_img (image capture base64 data)
<x-mr4-lc.code-scanner id='code1' mode='single' />
Hidden input: code2 (scan result) and code2_img (image capture base64 data)
<x-mr4-lc.code-scanner id='code2' mode='single' /> <input type="text" id='code2'>
Hidden input: code_img (image capture base64 data)
<x-mr4-lc.code-scanner id='code3' mode='single' /> <div> <input type="text" id='code3'> </div> <div> <img id="__code3_img" alt=""> </div>
License
Licensed under The MIT License (MIT).