packstub/filament-rating
A Filament plugin for adding star ratings to your admin panels. Render interactive or read-only star fields in forms, tables, and infolists, with configurable star counts, colors, sizes, and half-star support for flexible review and feedback workflows.
RatingInputColumn shifts rating capture into resource tables, so the host app must support row-level authorization, validation, Livewire state updates, and persistence side effects at the table layer. RatingFilter and RatingDistribution are read-side analytics features and fit admin/reporting surfaces well.v0.2.0) creates API-churn risk. Inline rating from a table introduces UX and data-integrity risks: optimistic UI vs. failed saves, concurrent edits, unauthorized row updates, and validation bypass. Labels improve accessibility only if implemented consistently; colors must not be the sole signal. Distribution summarizers may introduce aggregate-query performance costs at scale.RatingFilter use inclusive “4 stars & up” semantics as expected? How are percentages calculated, cached, and protected from divide-by-zero or stale aggregates?RatingInputColumn for low-friction list/table rating, RatingFilter for review queues, and RatingDistribution for dashboards or resource summaries. Product leverage is highest where teams need faster feedback capture and lightweight rating analytics without building custom UI.RatingInputColumn on a low-risk resource, and keep existing form-based rating as fallback until inline behavior is proven.labels() and colors() with accessibility and design-token review. 3) Enable RatingInputColumn in a pilot resource behind policy and validation checks. 4) Add RatingFilter to operational views. 5) Add RatingDistribution with cached or pre-aggregated queries. 6) Roll out to remaining resources and monitor save failures and query load.RatingDistribution can become expensive if it aggregates large rating tables on every render; cache, pre-aggregate, or restrict to summary views. Filters should be indexed on the underlying rating column.How can I help you explore Laravel packages today?