james2001/zxing

This is a adapter for zxing (java qrcode reader)

1.1.0 2014-12-18 12:33 UTC

This package is auto-updated.

Last update: 2024-10-14 05:54:01 UTC


README

SensioLabsInsight Code Climate Build Status

PHP QRcode reader (zxing)

Call zxing (code barre reader) in php

Requirement

This library package requires PHP 5.3 or later and java.

If you want to use it very easily, you should consider installing composer on your system. It is not mandatory though.

Setup

  • With composer (recommended)

Add the following line to the composer.json of your project and launch composer install command

{
    "require": {
        "james001/zxing": "~1.0"
    }
}

Launch install from your project root with:

composer install --no-dev --prefer-dist

Tests

This library is fully unit tested, and uses PHPUnit to launch the tests.

Once you installed the dev dependencies, launch the test suite with the following command:

./vendor/bin/phpunit tests