PHPackages                             l3aro/rating-star-for-filament - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. l3aro/rating-star-for-filament

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

l3aro/rating-star-for-filament
==============================

Rating star for filament table column and schemas.

v1.0.1(1mo ago)31.0k↓47.2%1MITPHPPHP ^8.2CI passing

Since Apr 25Pushed 1mo agoCompare

[ Source](https://github.com/l3aro/rating-star-for-filament)[ Packagist](https://packagist.org/packages/l3aro/rating-star-for-filament)[ Docs](https://github.com/l3aro/rating-star-for-filament)[ GitHub Sponsors](https://github.com/l3aro)[ RSS](/packages/l3aro-rating-star-for-filament/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (11)Versions (4)Used By (0)

Rating star for filament table column and schemas.
==================================================

[](#rating-star-for-filament-table-column-and-schemas)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c96ebae09e0118aa73fc14cefeb8067197b826e4d8103727dbacfee5147f559c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c3361726f2f726174696e672d737461722d666f722d66696c616d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/l3aro/rating-star-for-filament)[![GitHub Tests Action Status](https://camo.githubusercontent.com/2ccb6e8df5784c1287f5672de84c71dd55804b4eff93f3bbeb7a6bb42e414745/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c3361726f2f726174696e672d737461722d666f722d66696c616d656e742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/l3aro/rating-star-for-filament/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8770e9d72b9b4dc4b7e844f9ea161d18f01c7c61d02a582522add0aed1472630/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c3361726f2f726174696e672d737461722d666f722d66696c616d656e742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/l3aro/rating-star-for-filament/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/66f9f4f3150573f5f0d9bfdf449feeb98c890347ca58a251d78c481fe35c654f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c3361726f2f726174696e672d737461722d666f722d66696c616d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/l3aro/rating-star-for-filament)

A Filament plugin that provides elegant star rating components for forms, tables, and infolists. Features interactive rating input with support for half-stars and zero values, fully customizable star count, color, and icon size. Perfect for collecting and displaying user ratings in any Filament-powered panel.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require l3aro/rating-star-for-filament
```

Important

If you have not set up a custom theme and are using Filament Panels follow the instructions in the [Filament Docs](https://filamentphp.com/docs/5.x/styling/overview#creating-a-custom-theme) first.

After setting up a custom theme add the plugin's views to your theme css file or your app's css file if using the standalone packages.

```
@source '../../../../vendor/l3aro/rating-star-for-filament/resources/**/*.blade.php';
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-rating-star-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-rating-star-views"
```

This is the contents of the published config file:

```
use Filament\Support\Colors\Color;
use Filament\Support\Enums\IconSize;

return [
    'stars' => 5,
    'allow_half_star' => false,
    'allow_zero' => false,
    'color' => Color::Amber,
    'icon_size' => IconSize::Medium,
];
```

Usage
-----

[](#usage)

### Form Field

[](#form-field)

Use `StarInput` in your form schema:

```
use l3aro\FilamentRatingStar\Components\StarInput;
use Filament\Support\Colors\Color;
use Filament\Support\Enums\IconSize;

StarInput::make('rating')
    ->stars(5)              // Number of stars (default: 5)
    ->allowHalfStar()       // Enable half-star selection (default: false)
    ->allowZero()           // Allow zero rating (default: false)
    ->color(Color::Amber)   // Star color (default: Amber)
    ->iconSize(IconSize::Medium); // Star size (default: Medium)
```

### Table Column

[](#table-column)

Use `StarColumn` in your table:

```
use l3aro\FilamentRatingStar\Components\StarColumn;
use Filament\Support\Colors\Color;
use Filament\Support\Enums\IconSize;

StarColumn::make('rating')
    ->stars(5)              // Number of stars to display (default: 5)
    ->color(Color::Amber)    // Star color (default: Amber)
    ->iconSize(IconSize::Medium); // Star size (default: Medium)
```

### Infolist Entry

[](#infolist-entry)

Use `StarEntry` in your infolist:

```
use l3aro\FilamentRatingStar\Components\StarEntry;
use Filament\Support\Colors\Color;
use Filament\Support\Enums\IconSize;

StarEntry::make('rating')
    ->stars(5)              // Number of stars to display (default: 5)
    ->color(Color::Amber)    // Star color (default: Amber)
    ->iconSize(IconSize::Medium); // Star size (default: Medium)
```

### Register Plugin

[](#register-plugin)

Enable the plugin in your `PanelProvider`:

```
use l3aro\FilamentRatingStar\FilamentRatingStarPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentRatingStarPlugin::make(),
        ]);
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [l3aro](https://github.com/l3aro)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance91

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

44d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3a2932b4f0e3040ed49b95bc6b4670544cb4172cb13fb6b2ad31691e2ade0d6?d=identicon)[l3aro](/maintainers/l3aro)

---

Top Contributors

[![l3aro](https://avatars.githubusercontent.com/u/25253808?v=4)](https://github.com/l3aro "l3aro (62 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelfilamentfilament-pluginfilamentphpfilament-rating-starl3aro

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/l3aro-rating-star-for-filament/health.svg)

```
[![Health](https://phpackages.com/badges/l3aro-rating-star-for-filament/health.svg)](https://phpackages.com/packages/l3aro-rating-star-for-filament)
```

###  Alternatives

[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

127173.7k3](/packages/dotswan-filament-map-picker)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12351.0k](/packages/jibaymcs-filament-tour)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

196.5k14](/packages/wsmallnews-filament-nestedset)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6643.3k](/packages/marcelweidum-filament-passkeys)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7976.7k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
