PHPackages                             dominik-eller/laravel-qr-code - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dominik-eller/laravel-qr-code

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dominik-eller/laravel-qr-code
=============================

Generate QR Codes

v1.2.0(1y ago)0722↓50%[4 PRs](https://github.com/dominik-eller/laravel-qr-code/pulls)MITPHPPHP ^8.2CI passing

Since Sep 20Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/dominik-eller/laravel-qr-code)[ Packagist](https://packagist.org/packages/dominik-eller/laravel-qr-code)[ Docs](https://github.com/dominik-eller/laravel-qr-code)[ GitHub Sponsors](https://github.com/dominik-eller)[ RSS](/packages/dominik-eller-laravel-qr-code/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (7)Used By (0)

Generate QR Codes
=================

[](#generate-qr-codes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/da10e59fac7c0e27f1437759855a96c2b2f08fbc79fec413fd000195207d5df8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6d696e696b2d656c6c65722f6c61726176656c2d71722d636f64652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dominik-eller/laravel-qr-code)[![GitHub Tests Action Status](https://camo.githubusercontent.com/658403d3e5556ff8f3bb5ee2460b67d3cbc5d7c189e00b09c2183b7e920b296d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d696e696b2d656c6c65722f6c61726176656c2d71722d636f64652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/dominik-eller/laravel-qr-code/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ea2f612ae90846b6169e3ce6788e7034b27a47ff89d9443c2a72bfc56ae407db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d696e696b2d656c6c65722f6c61726176656c2d71722d636f64652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/dominik-eller/laravel-qr-code/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f744243214749c3f224cbab55b1421bd4dc690bc1734347efd0c8a9c9a427764/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f6d696e696b2d656c6c65722f6c61726176656c2d71722d636f64652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dominik-eller/laravel-qr-code)

This package allows you to generate QR Codes.

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

[](#installation)

You can install the package via composer:

```
composer require dominik-eller/laravel-qr-code
```

### Usage Example: Generating a URL QR Code

[](#usage-example-generating-a-url-qr-code)

You can easily generate a QR code for a URL by using the `QrCode` facade. Here’s how you can generate a QR code for a URL like `https://example.com`:

```
use Deller\QrCode\Facades\QrCode;

// Generate a QR code for a URL
$qrCode = QrCode::create('url')
    ->setUrl('https://example.com')
    ->setSize(300)  // Set the size of the QR code
    ->setColor([0, 0, 0])  // Set the foreground color (black)
    ->setBackgroundColor([255, 255, 255])  // Set the background color (white)
    ->setErrorCorrectionLevel('H')  // Set error correction level (High)
    ->generate();

// Now you can return the QR code as a string, or save it to a file, etc.
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please report security vulnerabilities by email to  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Dominik Eller](https://github.com/dominik-eller)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance63

Regular maintenance activity

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~79 days

Total

3

Last Release

441d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a2ccd4567291f7dd72eeb47c4ef636c3a4654f4911e92760573dad612299954?d=identicon)[dominik-eller](/maintainers/dominik-eller)

---

Top Contributors

[![dominik-eller](https://avatars.githubusercontent.com/u/12881106?v=4)](https://github.com/dominik-eller "dominik-eller (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravellaravel qr codeDominik Eller

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dominik-eller-laravel-qr-code/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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