### Install Filament Relation Manager Repeater Source: https://github.com/zvizvi/filament-relation-manager-repeater/blob/main/README.md Install the plugin using Composer. This command fetches the latest version and integrates it into your project. ```bash composer require zvizvi/relation-manager-repeater ``` -------------------------------- ### Advanced Configuration of Repeater Action Source: https://github.com/zvizvi/filament-relation-manager-repeater/blob/main/README.md Customize the `RelationManagerRepeaterAction` using standard Filament Action configurations and specific repeater options. This example demonstrates setting modal properties and configuring the repeater component itself. ```php use Filament\Forms\Components\Repeater; use Zvizvi\RelationManagerRepeater\Tables\RelationManagerRepeaterAction; public function table(Table $table): Table { return $table ->columns([ // ]) ->headerActions([ RelationManagerRepeaterAction::make() ->modalWidth('5xl') ->modalHeading('Edit Related Records') ->configureRepeater(function (Repeater $repeater) { return $repeater ->reorderable() ->collapsible() ->cloneable() ->defaultItems(0) ->maxItems(5); }), ]); } ``` -------------------------------- ### Add RelationManagerRepeaterAction to Relation Manager Source: https://github.com/zvizvi/filament-relation-manager-repeater/blob/main/README.md Integrate the `RelationManagerRepeaterAction` into your relation manager's table actions to enable the repeater interface. This involves importing the action and adding it to the `headerActions`. ```php use Zvizvi\RelationManagerRepeater\Tables\RelationManagerRepeaterAction; class PostsRelationManager extends RelationManager { protected static string $relationship = 'posts'; public function table(Table $table): Table { return $table ->columns([ // ]) ->headerActions([ RelationManagerRepeaterAction::make(), ]); } } ``` -------------------------------- ### Customizing Repeater Form Schema Source: https://github.com/zvizvi/filament-relation-manager-repeater/blob/main/README.md Define a custom schema for the repeater component to control which fields are displayed within the repeater interface. This allows for a subset of fields or custom fields tailored for the repeater. ```php use Filament\Forms\Components\TextInput; use Filament\Forms\Components\Toggle; use Zvizvi\RelationManagerRepeater\Tables\RelationManagerRepeaterAction; RelationManagerRepeaterAction::make() ->configureRepeater(function (Repeater $repeater) { return $repeater ->schema([ // Only include specific fields TextInput::make('title'), TextInput::make('slug'), Toggle::make('is_published'), // Other fields... ]); }), ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.