This package is abandoned and no longer maintained. No replacement package was suggested.
Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>
1.1.0 2018-02-19 10:47 UTC
Datamatrix reader/writer based on libdmtx.
composer require "ptachoire/php-dmtx:*"
use Dmtx\Writer; $writer = new Writer(); //encode message into file $writer->encode('this is a message') ->saveAs('/tmp/image.png'); //encode message and output image echo $writer->encode('this is a message') ->dump();
use Dmtx\Reader; $reader = new Reader(); //decode message from data $reader->decode($encoded_value); //decode message from file echo $reader->decodeFile('/tmp/image.png');
composer install ./vendor/bin/phpunit
php-dmtx is released under the MIT License. See the bundled LICENSE file for details.