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. saifulislam07/qr-generator-laravel

ActiveLibrary

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 2w 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 today

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

20

—

LowBetter than 16% of packages

Maintenance63

Regular maintenance activity

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)
```

PHPackages © 2026

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