PHPackages                             ejoi8/filament-qr-scanner - 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. ejoi8/filament-qr-scanner

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

ejoi8/filament-qr-scanner
=========================

QR scanner plugin for Filament tables and text inputs.

v0.1.0(3mo ago)067MITBladePHP ^8.3

Since Apr 4Pushed 3mo agoCompare

[ Source](https://github.com/ejoi8/filament-qr-scanner)[ Packagist](https://packagist.org/packages/ejoi8/filament-qr-scanner)[ Docs](https://github.com/ejoi8/filament-qr-scanner)[ RSS](/packages/ejoi8-filament-qr-scanner/feed)WikiDiscussions main Synced today

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

Filament QR Scanner
===================

[](#filament-qr-scanner)

QR scanner utilities for Filament tables and form fields.

GitHub: `ejoi8/filament-qr-scanner`

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13.x
- Filament 5.4.x

What It Does
------------

[](#what-it-does)

- provides a ready-made `Scan` header action
- opens a camera scanner in a Filament modal
- applies the scanned value to `tableSearch`
- adds `TextInput::qrScan()` for scanning directly into a field
- keeps normalization overridable per host page

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

[](#installation)

### Published Package

[](#published-package)

```
composer require ejoi8/filament-qr-scanner
php artisan filament:assets
```

### Local Path Package

[](#local-path-package)

If you are consuming the package locally before publishing it:

```
{
    "repositories": [
        {
            "type": "path",
            "url": "../filament-qr-scanner"
        }
    ]
}
```

```
composer require ejoi8/filament-qr-scanner
php artisan filament:assets
```

Register The Plugin
-------------------

[](#register-the-plugin)

Register the panel plugin in your Filament panel provider:

```
use FilamentQrScanner\FilamentQrScannerPlugin;

return $panel
    ->plugin(FilamentQrScannerPlugin::make());
```

Use On A ListRecords Page
-------------------------

[](#use-on-a-listrecords-page)

Add the trait and the ready-made header action to your Filament `ListRecords` page:

```
