micheledef/qr-code-php
最新稳定版本:v1.0.2
Composer 安装命令:
composer require micheledef/qr-code-php
包简介
Generate a qr code with PHP and Google Charts Infographics
README 文档
README
Generate a qr code with PHP and Google Charts Infographics
Quick Start
git clone https://github.com/MicheleDeF/QRCode.git
cd QRCode
composer dump-autoload
composer run start-example
Install via Composer
composer require micheledef/qr-code-php
Example of use
<?php require 'vendor/autoload.php'; use Micheledef\QrCodePhp\QRCode; $qr = new QRCode(); $code = "Hello World"; $qrGet = $qr->getQrCode($code, 177, 177, "UTF-8", "H"); $qrPost = $qr->postQrCode($code, 177, 177, "UTF-8", "H"); ?> <!-- QR code generated with GET request --> <img src="<?=$qrGet;?>" /> <!-- QR code generated with POST request--> <img src="<?=$qrPost?>" />
Also read the related official documentation
or read the article on the blog
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-28