承接 micheledef/qr-code-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-28