codeawn/zxingdecoder

Read barcode with ZXing Decoder Online

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Installs: 441

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/codeawn/zxingdecoder

1.0.0 2017-08-26 22:59 UTC

This package is auto-updated.

Last update: 2021-01-27 12:29:50 UTC


README

Read Barcode with ZXing Decoder Online.

Installation & Usage

install with composer : composer require codeawn/zxingdecoder

$decoder = new Codeawn\ZxingDecoder;
$result = $decoder->fromFile("barcoder-example.png"); // decode from file
$result = $decoder->fromUrl("http://example.com/barcode.png"); // decode from url

example result :

Array
(
    [status] => Decode Succeeded
    [Rawtext] => 123ABC
    [Rawbytes] => (Not applicable)
    [Barcodeformat] => CODE_39
    [ParsedResultType] => TEXT
    [ParsedResult] => 123ABC
)