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

ActiveLibrary

sabuj073/laravel-qr-generator
=============================

QR code generator for Laravel (PNG, SVG, data URI)

00PHP

Since Mar 10Pushed 1w agoCompare

[ Source](https://github.com/sabuj073/qr-generator)[ Packagist](https://packagist.org/packages/sabuj073/laravel-qr-generator)[ RSS](/packages/sabuj073-laravel-qr-generator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel QR Generator
====================

[](#laravel-qr-generator)

QR code জেনারেটর – PNG, SVG, data URI অথবা ফাইলে সেভ।

Installation
------------

[](#installation)

```
composer require sabuj073/laravel-qr-generator
```

```
php artisan vendor:publish --tag=qr-generator-config
```

Configuration
-------------

[](#configuration)

`.env` (optional):

```
QR_SIZE=300
QR_MARGIN=10
QR_FORMAT=png

```

Usage
-----

[](#usage)

**বাইনারি স্ট্রিং (PNG/SVG):**

```
use Sabuj073\QrGenerator\QrGenerator;

$qr = app(QrGenerator::class);
$pngBinary = $qr->generate('https://example.com');
$svgBinary = $qr->generate('https://example.com', 300, 10, 'svg');
```

**Data URI (HTML এ ব্যবহার):**

```
$dataUri = $qr->dataUri('https://example.com');
//
```

**ফাইলে সেভ:**

```
$qr->save('https://example.com', storage_path('app/qrcodes/product-1.png'));
$qr->save('https://example.com', public_path('qr.svg'), 200, 10); // SVG
```

**ডাউনলোড রেসপন্স:**

```
return $qr->response('https://example.com', 'my-qr.png', 300, true);
```

**ইনলাইন দেখানোর জন্য:**

```
return $qr->response('https://example.com', 'qrcode.png', 300, false);
```

###  Health Score

20

—

LowBetter than 17% of packages

Maintenance64

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/2efefd0d96dbe26a45d6f83e670878ce6bf6f5add6bf75b32f7ac092b70a4910?d=identicon)[sabuj073](/maintainers/sabuj073)

---

Top Contributors

[![sabuj073](https://avatars.githubusercontent.com/u/41548986?v=4)](https://github.com/sabuj073 "sabuj073 (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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