PHPackages                             momenoor/filament-table-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. momenoor/filament-table-field

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

momenoor/filament-table-field
=============================

Editable table field for Filament Forms with relationship support

v1.0.0(1y ago)15MITPHPPHP ^8.1

Since Apr 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Momenoor/filament-table-field)[ Packagist](https://packagist.org/packages/momenoor/filament-table-field)[ Docs](https://github.com/momenoor/filament-table-field)[ RSS](/packages/momenoor-filament-table-field/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Filament Table Field
====================

[](#filament-table-field)

[![Latest Version](https://camo.githubusercontent.com/97bc53d1be0bb3598b2cbab6bd576bea1f65edda3b01754da561b3ea350c671d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f6d656e6f6f722f66696c616d656e742d7461626c652d6669656c642e737667)](https://packagist.org/packages/momenoor/filament-table-field)

Filament Table Field
====================

[](#filament-table-field-1)

A powerful custom Laravel Filament form field that renders an interactive table to manage related records via `HasMany` or `BelongsToMany` relationships — directly within your form.

> Built for Filament v3 — no Blade components needed.

---

🚀 Features
----------

[](#-features)

- Inline editable table using Filament Tables API
- Modal-based Create/Edit/Delete actions
- Supports `HasMany` and `BelongsToMany` relationships
- Auto-syncs records after form submission
- Dynamic form schema and column config
- Lifecycle hooks:
    - `beforeCreateRecord()`
    - `beforeUpdateRecord()`
- Auto-injection of parent form data
- Configurable header actions and table display options
- Customizable empty state

---

📦 Installation
--------------

[](#-installation)

```
composer require momenoor/filament-table-field
```

Register the plugin (if not auto-discovered):

```
\Momenoor\FilamentTableField\FilamentTableFieldServiceProvider::class,
```

---

🔧 Usage
-------

[](#-usage)

```
use Momenoor\FilamentTableField\Forms\Components\TableField;

TableField::make('tasks')
    ->relationship('tasks')
    ->tableColumns([
        TextColumn::make('name'),
        TextColumn::make('status')->badge(),
    ])
    ->createFormSchema([
        TextInput::make('name')->required(),
        Select::make('status')->options([
            'new' => 'New',
            'in_progress' => 'In Progress',
            'done' => 'Done',
        ])->required(),
    ])
    ->beforeCreateRecord(fn ($parentState) => [
        'client_id' => $parentState['client_id'] ?? null,
    ])
    ->beforeUpdateRecord(fn ($record) => [
        'updated_by' => auth()->id(),
    ])
    ->heading('Task Assignments')
    ->defaultRecordDefaults([
        'status' => 'new'
    ])
    ->disableEdit(false)
    ->disableDelete(false);
```

---

⚙ API Reference
---------------

[](#-api-reference)

MethodDescription`relationship()`Set the Eloquent relationship name`tableColumns()`Define table columns (Filament `Columns`)`createFormSchema()`Define modal form schema for create/edit`defaultRecordDefaults()`Default values merged with form submission`beforeCreateRecord()`Hook for modifying data before creating a record`beforeUpdateRecord()`Hook for modifying data before updating a record`disableCreate()`Disable the Create action`disableEdit()`Disable the Edit action`disableDelete()`Disable the Delete action`heading()`Set table heading titleHooks receive:

- `data`: submitted form data for that row
- `parentState`: full parent form state
- `state`: current field state
- `record`: the parent model being edited
- `field`: the TableField instance

---

📚 License
---------

[](#-license)

MIT © Momen Noor

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance43

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

447d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5836882?v=4)[Momen Noor](/maintainers/momenoor)[@Momenoor](https://github.com/Momenoor)

---

Top Contributors

[![Momenoor](https://avatars.githubusercontent.com/u/5836882?v=4)](https://github.com/Momenoor "Momenoor (1 commits)")

---

Tags

laravelFormsfilamentrelation managertable-field

### Embed Badge

![Health badge](/badges/momenoor-filament-table-field/health.svg)

```
[![Health](https://phpackages.com/badges/momenoor-filament-table-field/health.svg)](https://phpackages.com/packages/momenoor-filament-table-field)
```

###  Alternatives

[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3161.3M25](/packages/ysfkaya-filament-phone-input)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

16354.2k](/packages/relaticle-custom-fields)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
