- What does mokhosh/filament-rating do?
- It is a leaf-level Filament UI plugin that adds an interactive star rating form field, a display table column, and read-only infolist views to Laravel Filament panels. It is presentation-only and has no persistence layer, migrations, or queue workers. The rating value is stored as a normal Eloquent attribute on your host model. It is intended for admin-panel rendering, with configurable icons, colors, and half-star support.
- Does mokhosh/filament-rating support Filament 4 and which Laravel versions?
- Version 2.0.0 is the Filament 4 and Tailwind CSS 4 compatibility release. The release notes do not publish a test matrix for exact PHP or Laravel constraints, so verify the requirements in composer.json at the v2.0.0 tag rather than inferring them. Filament 3 projects should not adopt v2.0.0 and should stay pinned to ^1.4.
- How do I install mokhosh/filament-rating in a Laravel Filament panel?
- Install it with Composer using the constraint that matches your Filament version, such as ^2.0 for Filament 4 or ^1.4 for Filament 3. Register the plugin in your Filament panel provider and follow the documented asset or theme registration steps. If your panel uses a custom theme, rebuild the theme assets after installing or upgrading. Confirm the exact version constraint against the tagged composer.json before deploying.
- How do I upgrade from mokhosh/filament-rating v1.x to v2.0.0?
- Treat v1.x and v2.x as parallel lines rather than an upgrade-in-place, because v2.0.0 is the Filament 4 and Tailwind CSS 4 compatibility release. Upgrade Filament first, complete the Tailwind 4 theme migration, and then add ^2.0 to your project. Diff the README, published views, and config between tags to catch API renames or configuration changes. Re-publish tagged assets and rebuild your theme after upgrading.
- Does mokhosh/filament-rating work with Filament 3?
- Not with v2.0.0, which targets Filament 4 and Tailwind CSS 4. Filament 3 projects should stay pinned to ^1.4 and avoid attempting an in-place upgrade to v2. Confirm whether v1.4.1 will continue to receive compatibility or security fixes, because if v1 is frozen, Filament 3 teams are on an unsupported branch. Test any v1 patch release in a staging panel before adopting it.
- Can I customize the star icons, colors, and half-star ratings?
- Yes, the package is described as supporting configurable icons, colors, and half-star ratings. These options apply to the interactive form input as well as the table column and read-only infolist views. Check the README for the exact configuration keys available at your installed version. Verify the rendering in both light and dark mode after customizing.
- Is mokhosh/filament-rating tested and safe for production?
- It is a small leaf-level UI plugin with a blast radius confined to admin-panel rendering, so absolute risk is low. However, the v2.0.0 release notes do not provide an automated test matrix or a changelog of removed APIs, so validate it manually in a staging panel. Check custom theme rendering, default compiled CSS, dark mode, and the inline table-column context before production rollout. Pin exact versions to avoid surprise constraint changes.
- Does mokhosh/filament-rating require a theme rebuild or custom Tailwind config?
- Version 2.0.0 aligns with Filament 4's CSS-first Tailwind theming model and plugin-provided CSS via css and theme registration rather than a published tailwind.config.js. That should reduce per-project glue code, but you should still confirm whether your host app needs an asset or theme rebuild step. Test in a custom non-default Filament theme and in a panel using Filament's default compiled CSS. Rebuild theme assets after upgrading from v1.
- Who maintains mokhosh/filament-rating and what is the bus factor risk?
- It is a single-maintainer package, and the substantive v2.0.0 change came from a first-time external contributor. The absolute risk is low given the small UI surface, but there is no documented continuity plan. Pin exact versions and avoid relying on rapid upstream fixes for critical admin workflows. Review release notes and repository activity before major Filament upgrades.
- What are alternatives to mokhosh/filament-rating?
- Alternatives include building a custom Filament form field and table column with Blade views, or evaluating other star-rating plugins that explicitly support Filament 4 and Tailwind CSS 4. This package is a lightweight presentation-only option with no persistence layer, so it fits projects that already store the rating value as a normal Eloquent attribute. Compare alternatives for theme integration, dark mode behavior, and table-column rendering before choosing. Check for conflicts with other Filament form-builder plugins that also ship custom Tailwind 4 CSS.