PHPackages                             saifulislam07/qr-generator-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. saifulislam07/qr-generator-laravel

ActiveLibrary[Image &amp; Media](/categories/media)

saifulislam07/qr-generator-laravel
==================================

A beautiful QR Code Generator package for Laravel with custom color support, premium dark UI, and SVG download.

00Blade

Since Mar 5Pushed 2mo agoCompare

[ Source](https://github.com/saifulislam07/qr-generator-laravel)[ Packagist](https://packagist.org/packages/saifulislam07/qr-generator-laravel)[ RSS](/packages/saifulislam07-qr-generator-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![QR Code Generator](public/img/1.png)](public/img/1.png)

🔲 QR Code Generator for Laravel
===============================

[](#-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.

 [![Packagist Version](https://camo.githubusercontent.com/aa6af6e97e609b97e220da0b69eed0920d49ccb179d446c740e883eae500deaa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616966756c69736c616d30372f71722d67656e657261746f722d6c61726176656c3f7374796c653d666f722d7468652d626164676526636f6c6f723d363336366631)](https://packagist.org/packages/saifulislam07/qr-generator-laravel) [![Laravel](https://camo.githubusercontent.com/233a016d03817648402fb6bca8d3f7fc9da7815ab68678166d7c23cb59005918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31307c31317c31322d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/233a016d03817648402fb6bca8d3f7fc9da7815ab68678166d7c23cb59005918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31307c31317c31322d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465) [![PHP](https://camo.githubusercontent.com/6795af0ba17c14a3fca23514cd5b8df834cc6460a5f0c8a8c2d6cb0bfabd553e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/6795af0ba17c14a3fca23514cd5b8df834cc6460a5f0c8a8c2d6cb0bfabd553e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465) [![License](https://camo.githubusercontent.com/153acf9dff19deb8abfc598c53bac50a4ceae0f5c83a552711060d3d78d2c057/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/153acf9dff19deb8abfc598c53bac50a4ceae0f5c83a552711060d3d78d2c057/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e3f7374796c653d666f722d7468652d6261646765)

---

✨ Features
----------

[](#-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
-------------

[](#-screenshots)

Generator FormGenerated QR Code[![Form](public/img/1.png)](public/img/1.png)[![Result](public/img/2.png)](public/img/2.png)---

📦 Installation (Composer Package)
---------------------------------

[](#-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

[](#access-the-generator)

After installation, visit:

```
http://your-app.test/qr-generator

```

### Publish Views (Optional)

[](#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 &amp; Run as Standalone App)
---------------------------------------------------

[](#️-manual-setup-clone--run-as-standalone-app)

If you want to run this as a standalone Laravel application:

### Prerequisites

[](#prerequisites)

- **PHP** &gt;= 8.2
- **Composer** (PHP dependency manager)
- **A local server** (e.g., Laragon, XAMPP, WAMP, or Laravel Valet)

### Step-by-Step

[](#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
-------------

[](#️-tech-stack)

TechnologyPurpose**Laravel 10/11/12**Backend framework**SimpleSoftwareIO/QrCode**QR code generation**HTML/CSS/JS**Frontend with custom dark theme---

📁 Package Structure
-------------------

[](#-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
-------

[](#-usage)

1. Install the package or clone the repo
2. Open the QR generator page in your browser
3. Enter any **text or URL** in the input field
4. Choose a **foreground color** (QR code color)
5. Choose a **background color**
6. Click **"✦ Generate QR Code"**
7. Click **"Download SVG"** to save the file
8. Use the **"Reset"** button to start over

---

👤 Author
--------

[](#-author)

**Md. Saiful Islam**

- GitHub: [@saifulislam07](https://github.com/saifulislam07)

---

📄 License
---------

[](#-license)

This project is open-sourced under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance57

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ddd45723fe31bbdf53246de666a89c63379be3b14de1f25627c975815c563d00?d=identicon)[saifulislam07](/maintainers/saifulislam07)

---

Top Contributors

[![saifulislam07](https://avatars.githubusercontent.com/u/46101909?v=4)](https://github.com/saifulislam07 "saifulislam07 (3 commits)")

### Embed Badge

![Health badge](/badges/saifulislam07-qr-generator-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/saifulislam07-qr-generator-laravel/health.svg)](https://phpackages.com/packages/saifulislam07-qr-generator-laravel)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
