New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ibrahimbougaoua/filament-rating-star

This is my package filament-rating-star
124,855 42
Install
composer require ibrahimbougaoua/filament-rating-star
Latest Version:v1.0.4
PHP:^8.1
Laravel:10 · 11
License:MIT
Last Updated:Apr 20, 2026
Links: GitHub  ·  Packagist
Maintainer: ibrahim.bougaoua

Filament Star rating field & column.

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

Star rating field & Star column.

Support us

"Buy Me A Coffee"

Youtube Video

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

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

composer test

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

ibrahim-bougaoua/filaprogress

This is my package filaprogress

96,353 34
ibrahimbougaoua/filament-menu-scroll-fix

Now whene a user clicks on an item it sets focus on the selected item without th...

18,612 31
ibrahimbougaoua/filament-sort-order

This is my package filament-sort-order

17,641 22
ibrahimbougaoua/radiobuttonimage

This is my package radiobuttonimage

7,074 16
ibrahimbougaoua/filasortable

This is my package filasortable

2,113 6

Version History

Version Released PHP Laravel License
v1.0.4 ^8.1 ^10.0|^11.0 MIT
v1.0.3 ^8.1 ^10.0|^11.0 MIT
v1.0.2 ^8.1 ^10.0|^11.0 MIT
v1.0.0 ^8.1 ^10.0 MIT
v0.0.1 ^8.1 ^10.0 MIT
Pre-releases (1)
Version Released PHP Laravel License
v0.0.1-alpha ^8.1 ^10.0 MIT