php-qrcode-detector-decoder
php-qrcode-detector-decoder copied to clipboard
Class not found: Example missing namespace
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');
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?