splitbrain/php-qrcode 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

splitbrain/php-qrcode

最新稳定版本:0.1

Composer 安装命令:

composer require splitbrain/php-qrcode

包简介

Minimalist SVG based QRCode Generator

README 文档

README

Generate SVG QR Codes. MIT license.

This is a stripped down version of https://github.com/kreativekorp/barcode inspired by another version at https://github.com/psyon/php-qrcode

Install via composer:

composer require splitbrain/php-qrcode

Usage:

use splitbrain\phpQRCode\QRCode;
echo QRCode::svg('hello world');

The above will directly output the generated SVG file. This file has no styles attached. Use CSS to style howver you want it:

svg {
    width: 10em;
    height: 10em;
    fill: #ff0000;
}

Options:

s - Symbology (type of QR code). One of:

    qrl
    qrm
    qrq
    qrh

统计信息

  • 总下载量: 38k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 20
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 20
  • Watchers: 1
  • Forks: 140
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-03-10