Table Repeater
CommunityFilament Repeater display in table layout.
Author:
Martin Hwang
Package health
BetaAutomated checks of this plugin's Composer package
13 checks
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.2supports current PHP8.5. - Skipped: Current Symfony version supported
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Warning: Commit and release recency — Low activity: last commit 187 days ago; last release 274 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Warning: Dist archive is lean
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Passed: Open security advisories
- Failed: Dependabot PR responsiveness — Stale Dependabot PRs: oldest general PR is 278 days old. View details on Plumb
- Passed: Dependabot or Renovate configured
-
Failed:
Dependency update cooldown configured
—
No cooldown configured in
.github/dependabot.yml. View details on Plumb - Failed: Provides a security policy — View details on Plumb
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Installation
- Usage
- Other methods
- Style customization
- Testing
- Changelog
- Contributing
- Security Vulnerabilities
- Credits
- License
This is a package for Filament form component. Extends from Repeater, but display in Table Layout.


#Installation
You can install the package via composer:
composer require icetalker/filament-table-repeater
You can publish the views using
php artisan vendor:publish --tag="filament-table-repeater"
#Usage
use Icetalker\FilamentTableRepeater\Forms\Components\TableRepeater;
protected function form(Form $form): Form
{
return $form->schema([
...
TableRepeater::make('items')
->relationship('items')
->schema([
Forms\Components\TextInput::make('product'),
...
])
->reorderable()
->cloneable()
->collapsible()
->minItems(3)
->maxItems(5)
->columnSpan('full'),
]);
}
Since this component extends from
Filament\Forms\Components\Repeater, you can use most of its methods, except for a few methods likeinset(),grid(),columns().
#Other methods
#colStyles
To customize styles for each cell, you can pass an array of component name as key and css style as value to colStyles(). See example below:
use Icetalker\FilamentTableRepeater\Forms\Components\TableRepeater;
protected function form(Form $form): Form
{
return $form->schema([
...
Forms\Components\Grid::make(1)->schema([
TableRepeater::make('items')
->relationship('items')
->schema([
Forms\Components\TextInput::make('product'),
Forms\Components\TextInput::make('quantity'),
...
])
->colStyles([
'product' => 'color: #0000ff; width: 250px;',
]),
]),
]);
}
Besides, you can also pass a callback function to colStyles(). This may unlock more customization possibilities. See example below:
use Icetalker\FilamentTableRepeater\Forms\Components\TableRepeater;
protected function form(Form $form): Form
{
return $form
->schema([
...
Forms\Components\Grid::make(1)->schema([
TableRepeater::make('items')
->relationship('items')
->schema([
Forms\Components\TextInput::make('product'),
Forms\Components\TextInput::make('quantity'),
...
])
->colStyles(function(){
return [
'product' => 'color: #0000ff; width: 250px;',
]
}),
]),
]);
}
#Style customization
Besides the colStyles() method mentioned above, we use few css classes to provide extra ability for style customization. These classes were so called CSS "hook" classes. They are prefixed with it-(short for icetalker, which is the vendor name). Although we already have hook classes in old version, it's never been documented here. And for now, we rename these hook name by the new prefix it-:
it-table-repeaterinstead offilament-table-repeaterin old version: As what you can tell from the class name, it allows you to customize the style for the whole table.it-table-repeater-cell-labelinstead offilament-table-repeater-header-cellin old version: As what you can tell from the class name, it allows you to customize the style for the label of each column.it-table-repeater-cellinstead offilament-table-repeater-tbody-cellin old version: As what you can tell from the class name, it allows you to customize the style for the cell of each column.it-table-repeater-row. This is new hook class, so that you can customize the style for each row.
You may add CSS to these classes in your app.css file, and filled with your own styles like this:
.it-table-repeater-cell-label {
background-color: #fafafa;
}
#Testing
composer test
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Contributing
Please see CONTRIBUTING for details.
#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.
The author
From the same author
Table Repeatable Entry
An infolist entry used to display a RepetableEntry as a table.
Author:
Martin Hwang
ChatGPT Bot
Talk to ChatGPT Inside Filament.
Author:
Martin Hwang
Picker
A plugin that allows you to pick a value from a list of options.
Author:
Martin Hwang
Stepper
A Form Component for Number Input.
Author:
Martin Hwang
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight/Raycast like Command Palette to your Filament Panel.
Dennis Koch
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle