amirnafarie/filament-rating-column

A custom rating column for Filament tables.

v1.0.0 2025-08-07 07:48 UTC

This package is auto-updated.

Last update: 2025-08-07 09:30:33 UTC


README

A custom column type for Filament tables that displays a visual star rating.

Features ✨

  • Display up to 5 star ratings in Filament tables
  • RTL (Right-to-Left) language support
  • Clean and responsive design

Installation 📦

You can install the package via Composer:

composer require amirnafarie/filament-rating-column

Usage 🚀

In your Filament table definition, use the RatingColumn:

use AmirNafarie\FilamentRatingColumn\Columns\RatingColumn;

// Inside your table's `getColumns()` method
RatingColumn::make('rating')

Compatibility 🔧

  • PHP: 8.1+
  • Laravel: 10+
  • Filament: 3.x

RTL Support 🌍

This column fully supports RTL layouts. When used in RTL themes or languages (like Persian or Arabic), the stars will align correctly from right to left.

License 📄

The MIT License (MIT). See the License File for more information.

Made with ❤️ by amirnafarie