diff --git a/README.md b/README.md index f4eda03..efd933b 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,9 @@ $ composer require khanamiryan/qrcode-detector-decoder ## Usage ```php require __DIR__ . "/vendor/autoload.php"; -$qrcode = new QrReader('path/to_image'); +$qrcode = new Zxing\QrReader('path/to_image'); $text = $qrcode->text(); //return decoded text from QR Code +echo $text; ``` ## Requirements