### Install Filament Star Rating Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Installs the filament-rating-star package using Composer. ```bash composer require ibrahimbougaoua/filament-rating-star ``` -------------------------------- ### Configuration File Example Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Example content of the published configuration file for filament-rating-star. ```php return [ 'stars' => [ 'star1' => '1', 'star2' => '2', 'star3' => '3', 'star4' => '4', 'star5' => '5', ] ]; ``` -------------------------------- ### Publish Configuration Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Publishes the configuration file for the filament-rating-star package. ```bash php artisan vendor:publish --tag="filament-rating-star-config" ``` -------------------------------- ### Run Tests Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Command to run the package's tests. ```bash composer test ``` -------------------------------- ### Publish Views Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Publishes the views for the filament-rating-star package. ```bash php artisan vendor:publish --tag="filament-rating-star-views" ``` -------------------------------- ### Usage in Filament Infolist Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Demonstrates how to use the RatingStar component in a Filament infolist schema. ```php use IbrahimBougaoua\FilamentRatingStar\Entries\Components\RatingStar; return $infolist ->schema([ RatingStar::make('rating') ]) ``` -------------------------------- ### Usage in Filament Table Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Demonstrates how to use the RatingStar component as a column in a Filament table. ```php use IbrahimBougaoua\FilamentRatingStar\Columns\Components\RatingStar; return $table ->columns([ RatingStar::make('rating') ]) ``` -------------------------------- ### Usage in Filament Form Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Demonstrates how to use the RatingStar component in a Filament form schema. ```php use IbrahimBougaoua\FilamentRatingStar\Forms\Components\RatingStar; return $form ->schema([ Section::make() ->schema([ RatingStar::make('rating') ->label('Rating') ]) ]) ``` -------------------------------- ### Customize Star Size in Filament Table Source: https://github.com/ibrahimbougaoua/filament-rating-star/blob/main/README.md Shows how to customize the size of the stars displayed in a Filament table column. ```php use IbrahimBougaoua\FilamentRatingStar\Columns\Components\RatingStar; return $table ->columns([ RatingStar::make('rating') ->size('sm') ]) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.