定制 ptachoire/php-dmtx 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ptachoire/php-dmtx

最新稳定版本:1.4.0

Composer 安装命令:

composer require ptachoire/php-dmtx

包简介

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

README 文档

README

Datamatrix reader/writer based on libdmtx.

⚠️ The installation of dmtx-utils is required to use the lib.

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.

License

php-dmtx is released under the MIT License. See the bundled LICENSE file for details.

统计信息

  • 总下载量: 66.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 18
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固