relaticle/custom-fields
| 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 |
Custom Fields

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
A Filament plugin to add markdown-based documentation to your admin panel.
Form builder and submission management plugin for Filament v5 - dynamic forms, s...
Easily convert <img> to responsive <picture> tags for TinyMCE with Laravel helpe...
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 | |
| v3.16.1 | ^8.3 | AGPL-3.0 | |
| v3.16.0 | ^8.3 | AGPL-3.0 | |
| v3.15.2 | ^8.3 | AGPL-3.0 | |
| v3.15.1 | ^8.3 | AGPL-3.0 | |
| v3.15.0 | ^8.3 | AGPL-3.0 | |
| v3.14.1 | ^8.3 | AGPL-3.0 | |
| v3.14.0 | ^8.3 | AGPL-3.0 | |
| v3.13.1 | ^8.3 | AGPL-3.0 | |
| v3.13.0 | ^8.3 | AGPL-3.0 | |
| v3.11.0 | ^8.3 | AGPL-3.0 | |
| v3.10.0 | ^8.3 | AGPL-3.0 | |
| v3.9.1 | ^8.3 | AGPL-3.0 | |
| v3.9.0 | ^8.3 | AGPL-3.0 | |
| v3.8.0 | ^8.3 | AGPL-3.0 | |
| v3.7.0 | ^8.3 | AGPL-3.0 | |
| v3.6.3 | ^8.3 | AGPL-3.0 | |
| v3.6.2 | ^8.3 | AGPL-3.0 | |
| v3.6.1 | ^8.3 | AGPL-3.0 | |
| v3.6.0 | ^8.3 | AGPL-3.0 | |
| v3.5.5 | ^8.3 | AGPL-3.0 | |
| v3.5.4 | ^8.3 | AGPL-3.0 | |
| v3.5.3 | ^8.3 | AGPL-3.0 | |
| v3.5.2 | ^8.3 | AGPL-3.0 | |
| v3.5.1 | ^8.3 | AGPL-3.0 | |
| v3.5.0 | ^8.3 | AGPL-3.0 |
Showing the latest 30 of 157. See every release on Packagist
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 | ||
| v3.0.0-beta11 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta10 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta9 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta8 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta7 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta6 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta5 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta4 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta3 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta2 | ^8.3 | AGPL-3.0 | ||
| 3.0.0-beta1 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta10 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta9 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta8 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta7 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta6 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta5 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta4 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta3 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta2 | ^8.3 | AGPL-3.0 | ||
| 2.0.0-beta1 | ^8.3 | AGPL-3.0 | ||
| 1.5.13-beta | ^8.2 | Apache-2.0 | ||
| 1.5.12-beta | ^8.2 | Apache-2.0 | ||
| 1.5.11-beta | ^8.2 | Apache-2.0 | ||
| 1.5.0-beta | ^8.2 | Apache-2.0 |