2017 © Pedro Peláez
 

library php-dmtx

Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>

image

ptachoire/php-dmtx

Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>

  • Monday, February 19, 2018
  • by krichprollsch
  • Repository
  • 2 Watchers
  • 10 Stars
  • 5,235 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 3 Forks
  • 0 Open issues
  • 5 Versions
  • 21 % Grown

The README.md

php-dmtx

Datamatrix reader/writer based on libdmtx., (*1)

⚠️ The installation of dmtx-utils is required to use the lib., (*2)

Install

composer require "ptachoire/php-dmtx:*"

Usage

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');

Test

composer install
./vendor/bin/phpunit

Credits

Project structure inspired by Negotiation by willdurand., (*3)

License

php-dmtx is released under the MIT License. See the bundled LICENSE file for details., (*4)

The Versions

19/02 2018

dev-master

9999999-dev

Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pierre Tachoire

19/02 2018

1.1.0

1.1.0.0

Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pierre Tachoire

15/07 2015

1.0.3

1.0.3.0

Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>

  Sources   Download

MIT

The Requires

 

by Pierre Tachoire

03/12 2014

1.0.2

1.0.2.0

Datamatrix r/w based on libdmtx <http://www.libdmtx.org/>

  Sources   Download

MIT

The Requires

 

by Pierre Tachoire

24/11 2014

1.0.0

1.0.0.0

Datamatrix r/w based on libdmtx

  Sources   Download

MIT

The Requires

 

by Pierre Tachoire