marcelorodrigo/filament-barcode-scanner-field 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marcelorodrigo/filament-barcode-scanner-field

最新稳定版本:v1.0.0

Composer 安装命令:

composer require marcelorodrigo/filament-barcode-scanner-field

包简介

This is my package filament-barcode-scanner-field

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

The Filament Barcode Scanner Input package offers a user-friendly barcode input field for your Filament applications. This component supports dynamic scanning, enabling users to input barcodes seamlessly. With a modal popup interface and customizable icons, the Filament Barcode Scanner Input package ensures an efficient and aesthetically pleasing user experience for barcode entry in your application.

Features

  • Modal Popup: The component opens a modal popup for barcode scanning, providing a dedicated interface for users to scan and input barcodes without cluttering the main form.
  • Customizable Icon: Users can customize the input field with their own Heroicons, enhancing the visual appeal and allowing for better integration with existing designs.
  • Responsive Design: Optimized for use on various devices, ensuring a seamless experience across desktop and mobile.
  • Easy Integration: Simple to integrate into your existing Filament forms with minimal configuration.

You can install the package via composer:

composer require marcelorodrigo/filament-barcode-scanner-field

You can publish the config file with:

php artisan vendor:publish --tag="filament-barcode-scanner-field-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-barcode-scanner-field-views"

This is the contents of the published config file:

return [ ];

Usage

Once installed, you can use the BarcodeInput component in your Filament forms:

use Marcelorodrigo\FilamentBarcodeScannerField\Forms\Components\BarcodeInput; // In your form definition BarcodeInput::make('barcode') ->icon('heroicon-o-arrow-right') // Specify your Heroicon name here ->required(),

Available Options

  • icon() - Set a custom Heroicon for the input field (e.g., 'heroicon-o-arrow-right', 'heroicon-o-qrcode')
  • required() - Make the barcode input required
  • All standard Filament field methods are supported

Testing

composer test

Versioning

This project follows Semantic Versioning (SemVer) 2.0.0 and adheres to Conventional Commits.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 62
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固