php-qrcode-detector-decoder icon indicating copy to clipboard operation
php-qrcode-detector-decoder copied to clipboard

Class not found: Example missing namespace

Open Enormity opened this issue 7 years ago • 1 comments

You cannot call "new QrReader('image.jpg')" because the class is not found. You need to add "Zxing" before it, like below:

$qrcode = new Zxing\QrReader('barcode.jpg');

Enormity avatar Apr 17 '18 17:04 Enormity

Hello, thank you for your issue. How you think, what is right decision? Add Namespace in example, or remove namespace from all code? And what namespace use?

khanamiryan avatar Apr 26 '18 11:04 khanamiryan