PHPackages                             remxcode/nova-qrcode-field - 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. remxcode/nova-qrcode-field

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

remxcode/nova-qrcode-field
==========================

Nova QR code field

v2.0.7(1mo ago)00MITPHPPHP ^8.2

Since Jul 9Pushed 1mo agoCompare

[ Source](https://github.com/remxcode/nova-qrcode-field)[ Packagist](https://packagist.org/packages/remxcode/nova-qrcode-field)[ Docs](https://github.com/remxcode/nova-qrcode-field)[ RSS](/packages/remxcode-nova-qrcode-field/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Nova QR Code
============

[](#nova-qr-code)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2151fc35582561997be6fababc67e1beb5bc629a0ef9c78671a40e6f3a75abc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656d78636f64652f6e6f76612d7172636f64652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/remxcode/nova-qrcode-field)[![Total Downloads](https://camo.githubusercontent.com/c8ea07582837aa1d5db602fb937b0a8ae278a4e8a53e8f5b9c3b0ceb6188250c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656d78636f64652f6e6f76612d7172636f64652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/remxcode/nova-qrcode-field)

A Laravel Nova field to generate QR Code.

[![Logo & background](art/cover.png)](art/cover.png)

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

[](#installation)

You can install the Nova field in to a [Laravel](http://laravel.com) app that uses [Nova](http://nova.laravel.com) via composer :

```
composer require remxcode/nova-qrcode-field

```

Usage
-----

[](#usage)

```
use Devtical\Qrcode\Qrcode;

```

#### Basic QR Code

[](#basic-qr-code)

To create a basic QR code with default settings:

```
Qrcode::make('QR Code', 'field')
```

#### Setting QR Code Sizes

[](#setting-qr-code-sizes)

Specify the sizes for index and detail views:

```
Qrcode::make('QR Code', 'field')
    ->indexSize(100)     // QR size for index view
    ->detailSize(500)    // QR size for detail view
```

[![Size](art/1-size.png)](art/1-size.png)

### Margin Customization

[](#margin-customization)

Control the padding around the QR code for optimal appearance:

```
Qrcode::make('QR Code', 'field')
    ->margin(10)
```

The margin value for the QR code adjusts based on its size: if the size is greater than `250`, it uses the margin value specified in `->margin()`, otherwise it defaults to a margin value of `1`.

### Adding a Logo

[](#adding-a-logo)

Add a logo to the center of the QR code:

```
Qrcode::make('QR Code', 'field')
    ->logo('http://source.to/logo.png')
```

[![Logo](art/2-logo.png)](art/2-logo.png)

### Setting a Background Image

[](#setting-a-background-image)

Set a background image for the QR code:

```
Qrcode::make('QR Code', 'field')
    ->background('http://source.to/background.png')
```

[![Background](art/3-background.png)](art/3-background.png)

### Combining Logo &amp; Background

[](#combining-logo--background)

Include both a logo and a background image for the QR code:

```
Qrcode::make('QR Code', 'field')
    ->logo('http://source.to/logo.png')
    ->background('http://source.to/background.png')
```

[![Logo & background](art/4-logo-background.png)](art/4-logo-background.png)

Dynamic Field Visibility
------------------------

[](#dynamic-field-visibility)

You can dynamically hide the QR Code field based on another field's value:

#### Hiding the Field Conditionally

[](#hiding-the-field-conditionally)

Use `hideWhen()` to hide the QR Code field when a condition is met:

```
Qrcode::make('QR Code', 'code')
    ->hideWhen(function ($resource) {
        return $resource->status === 0; // Hide if status is inactive
    });
```

Related
-------

[](#related)

- [Nova QR Code Manager](https://github.com/Devtical/nova-qrcode-manager)

Credits
-------

[](#credits)

- [vue-qr](https://github.com/Binaryify/vue-qr)
- [Awesome-qr.js](https://github.com/SumiMakito/Awesome-qr.js)

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

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

---

Top Contributors

[![Kristories](https://avatars.githubusercontent.com/u/774338?v=4)](https://github.com/Kristories "Kristories (60 commits)")[![DanielLavoie90](https://avatars.githubusercontent.com/u/11962001?v=4)](https://github.com/DanielLavoie90 "DanielLavoie90 (2 commits)")[![mark-nicepants](https://avatars.githubusercontent.com/u/62654433?v=4)](https://github.com/mark-nicepants "mark-nicepants (2 commits)")[![metrixinfo](https://avatars.githubusercontent.com/u/43896192?v=4)](https://github.com/metrixinfo "metrixinfo (2 commits)")[![bsormagec](https://avatars.githubusercontent.com/u/965219?v=4)](https://github.com/bsormagec "bsormagec (1 commits)")[![remxcode](https://avatars.githubusercontent.com/u/3363540?v=4)](https://github.com/remxcode "remxcode (1 commits)")

---

Tags

qrcodeqrlaravelnova

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/remxcode-nova-qrcode-field/health.svg)

```
[![Health](https://phpackages.com/badges/remxcode-nova-qrcode-field/health.svg)](https://phpackages.com/packages/remxcode-nova-qrcode-field)
```

###  Alternatives

[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90157.6k](/packages/emargareten-inertia-modal)[devtical/nova-qrcode-field

Nova QR code field

4676.5k2](/packages/devtical-nova-qrcode-field)[akira/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

497.2k](/packages/akira-laravel-qrcode)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3827.1k](/packages/linkxtr-laravel-qrcode)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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