PHPackages                             majdghithan/filament-rating-star - 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. majdghithan/filament-rating-star

ActiveLibrary

majdghithan/filament-rating-star
================================

This is my package filament-rating-star

07Blade

Since May 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/majdghithan/filament-rating)[ Packagist](https://packagist.org/packages/majdghithan/filament-rating-star)[ RSS](/packages/majdghithan-filament-rating-star/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Filament Star rating field &amp; column.
========================================

[](#filament-star-rating-field--column)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b9a8f799d03c044e97e3b269dd0e78ce0f52169e8e3039535da16dbf1c9bf422/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6962726168696d626f7567616f75612f66696c616d656e742d726174696e672d737461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibrahimbougaoua/filament-rating-star)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8d8e5038fb8a5d0cb653e4f2e4260b0a8b5588599f816c7418d2f5c6ee283c1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6962726168696d626f7567616f75612f66696c616d656e742d726174696e672d737461722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/ibrahimbougaoua/filament-rating-star/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d0d469edf16961be76b3c39d6b45f71bc4d20c1afaabcf83534fd264620875c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6962726168696d626f7567616f75612f66696c616d656e742d726174696e672d737461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibrahimbougaoua/filament-rating-star)

Star rating field &amp; Star column.
[![](https://raw.githubusercontent.com/ibrahimBougaoua/screenshot/main/images/rating.png)](https://www.youtube.com/watch?v=ON3VEyvb96M)
[Youtube Video](https://www.youtube.com/watch?v=ON3VEyvb96M)

[![](https://raw.githubusercontent.com/ibrahimBougaoua/screenshot/main/images/ibrahim-bougaoua-star-rating.jpg)](https://www.youtube.com/watch?v=ON3VEyvb96M)

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

[](#installation)

You can install the package via composer:

```
composer require ibrahimbougaoua/filament-rating-star
```

You can publish the config file with:

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

This is the contents of the published config file:

```
return [
    'stars' => [
        'star1' => '1',
        'star2' => '2',
        'star3' => '3',
        'star4' => '4',
        'star5' => '5',
    ]
];
```

Optionally, you can publish the views using

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

Usage
-----

[](#usage)

With Form :

```
use IbrahimBougaoua\FilamentRatingStar\Forms\Components\RatingStar;

return $form
    ->schema([
        Section::make()
            ->schema([
                RatingStar::make('rating')
                ->label('Rating')
            ])
        ])
```

With Table :

```
use IbrahimBougaoua\FilamentRatingStar\Columns\Components\RatingStar;

return $table
    ->columns([
        RatingStar::make('rating')
    ])
```

With Infolist :

```
use IbrahimBougaoua\FilamentRatingStar\Entries\Components\RatingStar;

return $infolist
    ->schema([
        RatingStar::make('rating')
    ])
```

You can use the `size` method to customize the size of the stars:

```
use IbrahimBougaoua\FilamentRatingStar\Columns\Components\RatingStar;

return $table
    ->columns([
        RatingStar::make('rating')
            ->size('sm')
    ])
```

Supported sizes are `xs`, `sm`, `md`, `lg` and `xl`.

Testing
-------

[](#testing)

```
composer test
```

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Ibrahim](https://github.com/ibrahimBougaoua)
- [Red Squirrel Studio](https://github.com/redsquirrelstudio)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0016f1c1c9b03cfa79886cb849e2adee6f6a6ad6d2ee6d18a6556f0d5eb1e12a?d=identicon)[majdghithan](/maintainers/majdghithan)

---

Top Contributors

[![majdghithan](https://avatars.githubusercontent.com/u/54972678?v=4)](https://github.com/majdghithan "majdghithan (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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