Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Filament Enums

Filament Enums Laravel Package

peltonsolutions/filament-enums

Adds PHP enum support to Filament forms, tables, filters, and badges, making status fields and typed choices easier with labeled, colored options and clean enum-backed selects.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Filament Enums
What does peltonsolutions/filament-enums do?
It adds PHP enum support to Filament forms, tables, filters, and badges. The package helps status fields and typed choices render as labeled, colored options instead of raw enum values. It is aimed at Laravel applications that already use Filament.
How do I install filament-enums in a Laravel app?
Install it with Composer using composer require peltonsolutions/filament-enums. Then follow the repository README for any Filament panel registration or publishing steps. Because Filament assets and panels can vary by version, check the README after installation.
Which Filament components support enum fields?
The package is described as supporting Filament forms, tables, filters, and badges. That means enum-backed selects can be used in forms while table columns, filters, and badges can display labeled and colored enum options. Review the README for the exact component APIs.
How do I add labels and colors to enum options?
The package is designed to let enums provide labeled and colored options for Filament components. You define the labels and colors in your enum integration, then Filament renders them consistently across forms, tables, filters, and badges. See the repository README for the exact method names and expected return values.
Does filament-enums work with PHP backed enums?
Yes. The package is intended for PHP enums, including backed enums commonly used for status fields and typed choices. Backed enums let you store a stable value in the database while Filament displays a friendlier label and color.
Can I use enum-backed selects in Filament forms?
Yes. The package adds enum support to Filament forms so selects can be backed by PHP enums. This keeps form choices typed and consistent with the enum values used elsewhere in your application. Check the README for the form field configuration syntax.
How do enum filters work in Filament tables?
The package adds enum support to Filament table filters, allowing filter options to be derived from your PHP enum. This lets developers filter records by labeled, colored enum values instead of manually building option arrays. The README should be consulted for filter-specific setup.
Which Laravel and Filament versions does filament-enums support?
The package targets Laravel applications using Filament, but exact version constraints are defined in the repository composer.json and README. Before installing or upgrading, confirm that your PHP, Laravel, and Filament versions match the supported constraints. This is especially important when upgrading Filament major versions.
Do I need to change my database schema to use this package?
No special schema is required beyond storing the enum value normally. For backed enums, that usually means a string or integer column that matches the enum backing value. The package handles Filament presentation, not the underlying database type.
Is filament-enums suitable for production use?
It is a small Filament integration package, so production suitability depends on pinning a compatible version and reviewing the repository for upgrade notes. Confirm that its supported Filament version matches your application before deploying. For critical admin panels, test enum forms, tables, filters, and badges in staging first.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource