phpqrcode(二维码)
installation
composer require luoyy/phpqrcode
Quick Sample Usage
var_dump(\luoyy\phpqrcode\QRcode::base64('hello world', false, 'M', 4, 1))
This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi., (*1)
== LICENSING ==, (*2)
Copyright (C) 2010 by Dominik Dzienia, (*3)
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or any later version., (*4)
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
for more details., (*5)
You should have received a copy of the GNU Lesser General Public License along
with this library; if not, write to the Free Software Foundation, Inc., 51
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, (*6)
== INSTALATION AND USAGE ==, (*7)
- INSTALL file
- http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
== CONTACT ==, (*8)
Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
folowing project pages:, (*9)
- http://sourceforge.net/projects/phpqrcode/
- http://phpqrcode.sourceforge.net/
== ACKNOWLEDGMENTS ==, (*10)
Based on C libqrencode library (ver. 3.1.1)
Copyright (C) 2006-2010 by Kentaro Fukuchi
http://megaui.net/fukuchi/works/qrencode/index.en.html, (*11)
QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
countries., (*12)
Reed-Solomon code encoder is written by Phil Karn, KA9Q.
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q, (*13)