saifulislam07/qr-generator-laravel
Composer 安装命令:
composer require saifulislam07/qr-generator-laravel
包简介
A beautiful QR Code Generator package for Laravel with custom color support, premium dark UI, and SVG download.
README 文档
README
🔲 QR Code Generator for Laravel
A modern, stylish QR Code Generator package for Laravel — featuring custom color support, premium dark UI, instant preview, and SVG download.
✨ Features
- 🎨 Custom Colors — Pick any foreground and background color for your QR code
- 📱 Fully Responsive — Beautiful dark-themed UI that works on all devices
- ⬇️ SVG Download — Download your QR code as a high-quality SVG file
- 🔄 Reset Button — Quickly clear the form and start fresh
- ⚡ Instant Preview — See your QR code immediately after generation
- 🌙 Premium Dark UI — Glassmorphism design with smooth animations
- 📦 Easy Install — Install via Composer in seconds
📸 Screenshots
| Generator Form | Generated QR Code |
|---|---|
![]() |
![]() |
📦 Installation (Composer Package)
Install the package via Composer:
composer require saifulislam07/qr-generator-laravel
The package will auto-register its service provider via Laravel's package discovery.
Access the Generator
After installation, visit:
http://your-app.test/qr-generator
Publish Views (Optional)
If you want to customize the UI, publish the views:
php artisan vendor:publish --tag=qr-generator-views
This will copy the views to resources/views/vendor/qr-generator/.
🛠️ Manual Setup (Clone & Run as Standalone App)
If you want to run this as a standalone Laravel application:
Prerequisites
- PHP >= 8.2
- Composer (PHP dependency manager)
- A local server (e.g., Laragon, XAMPP, WAMP, or Laravel Valet)
Step-by-Step
1. Clone the repository
git clone https://github.com/saifulislam07/qr-generator-laravel.git
2. Navigate to the project folder
cd qr-generator-laravel
3. Install PHP dependencies
composer install
4. Create the environment file
cp .env.example .env
5. Generate the application key
php artisan key:generate
6. Run the development server
php artisan serve
7. Open in your browser
http://localhost:8000
🛠️ Tech Stack
| Technology | Purpose |
|---|---|
| Laravel 10/11/12 | Backend framework |
| SimpleSoftwareIO/QrCode | QR code generation |
| HTML/CSS/JS | Frontend with custom dark theme |
📁 Package Structure
qr-generator-laravel/
├── src/
│ ├── Http/Controllers/
│ │ └── QRController.php # QR generation & download logic
│ ├── resources/views/
│ │ └── index.blade.php # Premium dark-themed UI
│ ├── routes/
│ │ └── web.php # Package routes (/qr-generator)
│ └── QrGeneratorServiceProvider.php # Service provider
├── public/img/ # Screenshots
├── composer.json # Package definition
└── README.md
📝 Usage
- Install the package or clone the repo
- Open the QR generator page in your browser
- Enter any text or URL in the input field
- Choose a foreground color (QR code color)
- Choose a background color
- Click "✦ Generate QR Code"
- Click "Download SVG" to save the file
- Use the "Reset" button to start over
👤 Author
Md. Saiful Islam
- GitHub: @saifulislam07
📄 License
This project is open-sourced under the MIT License.
saifulislam07/qr-generator-laravel 适用场景与选型建议
saifulislam07/qr-generator-laravel 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 03 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「color」 「qrcode」 「laravel」 「svg」 「qr-code」 「qr-generator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 saifulislam07/qr-generator-laravel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 saifulislam07/qr-generator-laravel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 saifulislam07/qr-generator-laravel 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Based in http://phpqrcode.sourceforge.net/
Symfony 4, 5, 6 ,7 Barcode Generator Bundle with Twig function extension
Native (browser) color input field for SilverStripe
Generates QR Codes
Colorizes the Flarum forum header and interface based on the active tag's color.
The jquery qrcode for yii2.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 40
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-05

