f9webltd/simple-qrcode
Composer 安装命令:
composer require f9webltd/simple-qrcode
包简介
Simple QrCode is a QR code generator made for Laravel.
README 文档
README
Simple QrCode Generator For Laravel
This is a PHP ^8.2 and Laravel ^11.0 / ^12.0 / ^13.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.
f9webltd/simple-qrcode 适用场景与选型建议
f9webltd/simple-qrcode 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 43.31k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2025 年 04 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「generator」 「wrapper」 「Simple」 「qrcode」 「laravel」 「laravel qr code」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 f9webltd/simple-qrcode 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 f9webltd/simple-qrcode 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 f9webltd/simple-qrcode 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Memio's PrettyPrinter, used to generate PHP code from given Model
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
A simple library for make Lexer and Parsers to build a language
A simple library that allows transform any kind of data to native php data or whatever
A simple library that uses the hydration pattern to fill objects given different sources of data.
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
统计信息
- 总下载量: 43.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-19