james2001 / zxing
This is a adapter for zxing (java qrcode reader)
Installs: 6 274
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 2
Open Issues: 0
Requires
- php: >=5.3.2
Requires (Dev)
- phpunit/phpunit: ~4.4
This package is auto-updated.
Last update: 2024-11-14 06:03:35 UTC
README
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