PHP二维条形码开发包 PHP QR Code

fmms 13年前
     <p>PHP QR Code 是 PHP 用来处理二维条形码的开发包。基于 C 语言的 libqrencode 库开发,提供生成二维条形码功能,包括 PNG、JPG 格式。使用纯 PHP 实现,无需依赖第三方包,除了 GD2 除外。</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>示例代码:</p>    <pre class="brush:php; toolbar: true; auto-links: false;">QRcode::png('code data text', 'filename.png'); // creates file  QRcode::png('some othertext 1234'); // creates code image and outputs it directly into browser</pre>    <p></p>    <img title="logobig.png" border="0" alt="logobig.png" src="https://simg.open-open.com/show/e64739a75ef09292289e352d10752e49.png" width="316" height="48" />    <br />    <br /> 项目地址:    <a href="/misc/goto?guid=4958199596464659342" target="_blank">http://phpqrcode.sourceforge.net/</a>