定制 f9webltd/simple-qrcode 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

f9webltd/simple-qrcode

最新稳定版本:4.3.0

Composer 安装命令:

composer require f9webltd/simple-qrcode

包简介

Simple QrCode is a QR code generator made for Laravel.

README 文档

README

Run Tests - Current Packagist Version Packagist PHP Version

Simple QrCode Generator For Laravel

This is a PHP ^8.2 and Laravel ^10.0 / ^11.0 / ^12.0 fork of SimpleSoftwareIO/simple-qrcode (which appears to be a dead repository). The fork applies the major none merged pull requests.

Introduction

Simple QrCode is an easy to use wrapper for the popular Laravel framework based on the great work provided by Bacon/BaconQrCode.

Installation

composer require f9webltd/simple-qrcode

Quick Start

Within a Blade view

{!! QrCode::size(100)->generate(Request::url()); !!}

As an image

<img src="{!! QrCode::format('png')->generate('Embed me into an e-mail!'), 'QrCode.png', 'image/png') !!}" />
As an image inline (no image saved to disk)
<img src="data:image/png;base64, {!! base64_encode(QrCode::format('png')->size(100)->generate('Make me into an QrCode!')) !!}" />

Full documentation available here

Usage Outside Laravel

You may use this package outside of Laravel by instantiating a new F9WebLtd\QrCode\Generator class.

use F9WebLtd\QrCode\Generator;

$qrcode = new Generator;
$qrcode->size(500)->generate('Make a qrcode without Laravel!');

License

This software is released under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 448
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固