Home  >  Article  >  Backend Development  >  A php extension based on QR Code encoder to generate QR codes more efficiently

A php extension based on QR Code encoder to generate QR codes more efficiently

WBOY
WBOYOriginal
2016-08-08 09:20:291118browse

php extension generates QR code

<code>DCode::qrcode(<span>$string</span>, <span>$version</span> = <span>0</span>, <span>$level</span> = QR_ECLEVEL_L, <span>$mode</span> = QR_MODE_KANJI, <span>$casesensitive</span> = <span>0</span>);</code>
<code>DCode::qrcode8bit(<span>$string</span>, <span>$version</span> = <span>0</span>, <span>$level</span> = QR_ECLEVEL_L);</code>
<code>DCode::qrcodedata(<span>$size</span>, <span>$data</span>, <span>$version</span> = <span>0</span>, <span>$level</span> = QR_ECLEVEL_L);</code>

Copyright statement: This article is an original article by the blogger and may not be reproduced without the permission of the blogger.

The above introduces a php extension based on QR Code encoder, which can generate QR codes more efficiently, including aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn