New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

relaticle/custom-fields

User Defined Custom Fields for Laravel Filament
102,796 168
Install
composer require relaticle/custom-fields
Latest Version:v3.18.2
PHP:^8.3
Laravel:11 · 12 · 13
License:AGPL-3.0
Last Updated:Nov 9, 2026
Links: GitHub  ·  Packagist
Maintainer: ManukMinasyan

Custom Fields

Custom Fields

Downloads Laravel 12 PHP 8.3 License License

A powerful Laravel/Filament plugin for adding dynamic custom fields to any Eloquent model without database migrations.

Features

  • 20+ Field Types - Text, date, select, file upload, rich editor, and more
  • Conditional Visibility - Show/hide fields based on other field values
  • Multi-tenancy - Complete tenant isolation and context management
  • Filament Integration - Forms, tables, infolists, and admin interface
  • Import/Export - Built-in CSV capabilities
  • Security - Optional field encryption and type-safe validation
  • Extensible - Custom field types and automatic discovery

Requirements

  • PHP 8.3+
  • Filament 5.0+

Getting Started

Integrating Custom Fields Plugin into a panel

use Relaticle\CustomFields\CustomFieldsPlugin;
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        // ... other panel configurations
        ->plugins([
            CustomFieldsPlugin::make(),
        ]);
}

Setting Up the Model

Add the trait to your model:

use Relaticle\CustomFields\Models\Contracts\HasCustomFields;
use Relaticle\CustomFields\Models\Concerns\UsesCustomFields;

class Post extends Model implements HasCustomFields
{
    use UsesCustomFields;
}

Add to your Filament form:

use Filament\Schemas\Schema;
use Relaticle\CustomFields\Facades\CustomFields;

public function form(Schema $schema): Form
{
    return $schema->components([
        // Your existing form fields...
        
        CustomFields::form()->build()
    ]);
}

Documentation

For complete installation instructions, configuration options, and examples, visit our documentation.

Contributing

Contributions are welcome! Please see our contributing guide in the documentation.

Licensing

This plugin is dual-licensed: Open Source (AGPL-3.0) for open source projects, and Commercial License for closed-source projects.

AGPL-3.0 requires your entire application to be open source. For private/closed-source projects, you need a commercial license.

Please take a look at our documentation for licensing details.

Related Packages

defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

44,029 34
jeffersongoncalves/filament-documentation

A Filament plugin to add markdown-based documentation to your admin panel.

4,286 9
madbox-99/filament-forms

Form builder and submission management plugin for Filament v5 - dynamic forms, s...

1,002 0
isapp/tinyeditor-picture-tag

Easily convert <img> to responsive <picture> tags for TinyMCE with Laravel helpe...

431 0

Version History

Version Released PHP License
v3.18.2 ^8.3 AGPL-3.0
v3.18.1 ^8.3 AGPL-3.0
v3.18.0 ^8.3 AGPL-3.0
v3.17.0 ^8.3 AGPL-3.0
v3.16.2 ^8.3 AGPL-3.0
Pre-releases (30)
Version Released PHP Laravel License
v4.0.0-beta.2 ^8.4 ^13.0 AGPL-3.0
v4.0.0-beta.1 ^8.4 ^13.0 AGPL-3.0
v3.0.0-beta14 ^8.3 AGPL-3.0
v3.0.0-beta13 ^8.3 AGPL-3.0
3.0.0-beta12 ^8.3 AGPL-3.0