PHP二维条形码开发包 PHP QR Code
jopen
13年前
<p>PHP QR Code 是 PHP 用来处理二维条形码的开发包。基于 C 语言的 libqrencode 库开发,提供生成二维条形码功能,包括 PNG、JPG 格式。使用纯 PHP 实现,无需依赖第三方包,除了 GD2 除外。</p> <div id="header"> <img style="margin-right:10px;" title="PHP QR Code logo" alt="PHP二维条形码开发包 PHP QR Code" src="https://simg.open-open.com/show/4917452747b81051c818fa83129b7474.png" width="48" height="48" /> <img title="PHP QR Code baner" alt="PHP二维条形码开发包 PHP QR Code" src="https://simg.open-open.com/show/e64739a75ef09292289e352d10752e49.png" width="316" height="48" /> </div> <p></p> <p>示例代码:</p> <p><tt>QRcode::png('code data text', 'filename.png'); // creates file </tt><br /> <tt>QRcode::png('some othertext 1234'); // creates code image and outputs it directly into browser</tt></p> <p>主要特性:</p> <ul> <li>Supports QR Code versions (size) 1-40</li> <li>Numeric, Alphanumeric, 8-bit and Kanji encoding. <span style="color:silver;font-size:0.8em;">(Kanji encoding was not fully tested, if you are japan-encoding enabled you cen contribute by verifing it :) )</span></li> <li>Implemented purely in PHP, no external dependencies except GD2</li> <li>Exports to PNG, JPEG images, also exports as bit-table</li> <li>TCPDF 2-D barcode API integration</li> <li>Easy to configure</li> <li>Data cache for calculation speed-up</li> <li>Provided merge tool helps deploy library as a one big dependency-less file, simple to "include and do not wory"</li> <li>Debug data dump, error logging, time benchmarking</li> <li>100% Open Source, LGPL Licensed</li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324822106780" target="_blank">http://www.open-open.com/lib/view/home/1324822106780</a></p>