微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

PHP QR Code

程序名称:PHP QR Code

授权协议: LGPL

操作系统: 跨平台

开发语言: PHP

PHP QR Code 介绍

PHP QR Code 是 PHP 用来处理二维条形码的开发包。基于 C 语言的 libqrencode 库开发,提供生成二维条形码功能包括
PNG、JPG 格式。使用纯 PHP 实现,无需依赖第三方包,除了 GD2 除外。

示例代码

QRcode::png('code data text', 'filename.png'); // creates file
QRcode::png('some othertext 1234'); // creates code image and outputs it directly into browser

主要特性:

  • Supports QR Code versions (size) 1-40
  • Numeric, Alphanumeric, 8-bit and Kanji encoding. (Kanji encoding was not fully tested, if you are japan-encoding enabled you cen contribute by verifing it :) )
  • Implemented purely in PHP, no external dependencies except GD2
  • Exports to PNG, JPEG images, also exports as bit-table
  • TCPDF 2-D barcode API integration
  • Easy to configure
  • Data cache for calculation speed-up
  • Provided merge tool helps deploy library as a one big dependency-less file, simple to “include and do not wory”
  • Debug data dump, error logging, time benchmarking
  • 100% Open Source, LGPL Licensed

PHP QR Code 官网

http://phpqrcode.sourceforge.net/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐