ibrahimbougaoua/filament-rating-star
This is my package filament-rating-star
Maintainers
Package info
github.com/ibrahimBougaoua/filament-rating-star
Language:Blade
pkg:composer/ibrahimbougaoua/filament-rating-star
Requires
- php: ^8.1
- filament/filament: ^2.0|^3.0-stable
- illuminate/contracts: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.8|^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 4d2e67453ec9f90c2fef08fbae7d46f71f6c9f04
- Ibrahim <ibrahim.bougaoua.woop@etu.usthb.dz>
This package is auto-updated.
Last update: 2026-06-20 07:02:30 UTC
README
👁 Latest Version on Packagist
👁 GitHub Code Style Action Status
👁 Total Downloads
Star rating field & Star column.
👁 Image
Support us
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.
