Download the PHP package momenoor/filament-serial without Composer
On this page you can find all versions of the php package momenoor/filament-serial. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download momenoor/filament-serial
More information about momenoor/filament-serial
Files in momenoor/filament-serial
Download momenoor/filament-serial
More information about momenoor/filament-serial
Files in momenoor/filament-serial
Vendor momenoor
Package filament-serial
Short Description A Filament V3 form macro for `TextInput` that allows you to easily format and manage serial numbers with optional prefixes, suffixes, separators, and padded digits.
License MIT
Homepage https://github.com/momenoor/filament-serial
Package filament-serial
Short Description A Filament V3 form macro for `TextInput` that allows you to easily format and manage serial numbers with optional prefixes, suffixes, separators, and padded digits.
License MIT
Homepage https://github.com/momenoor/filament-serial
Please rate this library. Is it a good library?
Informations about the package filament-serial
Filament Serial Field for Laravel
A Filament V3 form macro for TextInput
that allows you to easily format and manage serial numbers with optional prefixes, suffixes, separators, and padded digits.
✨ Features
- Format serial numbers in Filament forms.
- Support for:
- Prefix and/or suffix
- Custom separator
- Fixed digit zero-padded numeric part
- Automatically formats on blur and focus
- Saves only numeric part to database
- Built-in Alpine.js interactivity
- Simple integration with Filament
TextInput
📦 Installation
You can install the package via Composer:
This package auto-registers itself. No need to publish anything.
⚙️ Usage
Example
Interaction | Value Example |
---|---|
On blur | INV-000123-UAE |
On focus | 123 |
In database | 000123 |
🛠 Parameters
Parameter | Type | Description |
---|---|---|
prefix |
string|Closure | Text before the numeric part |
suffix |
string|Closure | Text after the numeric part |
separator |
string | String between segments (default: - ) |
length |
int | Number of digits in the numeric part (default: 8 ) |
✅ Compatibility
- Laravel 10+
- Filament 3.x
- PHP 8.1+
📄 Changelog
Please see CHANGELOG for more information on recent changes.
🤝 Contributing
Please see CONTRIBUTING for details.
🔐 Security
If you discover any security-related issues, please review the security policy.
🙌 Credits
- Momen Noor
- All Contributors
📜 License
The MIT License (MIT). Please see LICENSE for more information.
All versions of filament-serial with dependencies
PHP Build Version
Package Version
Requires
php Version
~8.1|~8.2|~8.3|~8.4
akaunting/laravel-money Version ^1.2|^2.0|^3.0|^4.0|^5.2|^6
filament/tables Version ^3.0
illuminate/contracts Version ^10.0|^11|^12.0
spatie/laravel-package-tools Version ^1.15.0
akaunting/laravel-money Version ^1.2|^2.0|^3.0|^4.0|^5.2|^6
filament/tables Version ^3.0
illuminate/contracts Version ^10.0|^11|^12.0
spatie/laravel-package-tools Version ^1.15.0
The package momenoor/filament-serial contains the following files
Loading the files please wait ....