PHPackages                             relaticle/custom-fields - 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. [Database &amp; ORM](/categories/database)
4. /
5. relaticle/custom-fields

ActiveLibrary[Database &amp; ORM](/categories/database)

relaticle/custom-fields
=======================

User Defined Custom Fields for Laravel Filament

v3.1.0(2mo ago)15828.6k—8.2%21[1 PRs](https://github.com/Relaticle/custom-fields/pulls)AGPL-3.0PHPPHP ^8.3CI passing

Since Sep 23Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/Relaticle/custom-fields)[ Packagist](https://packagist.org/packages/relaticle/custom-fields)[ Docs](https://github.com/relaticle/custom-fields)[ RSS](/packages/relaticle-custom-fields/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (36)Versions (182)Used By (0)

Custom Fields
=============

[](#custom-fields)

[![Custom Fields](art/preview.png)](art/preview.png)

[![Downloads](https://camo.githubusercontent.com/c311ffdebcb22eaa7d547a250b3aad2c2061f42ec19ee9d674bb7141f2891617/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656c617469636c652f637573746f6d2d6669656c64732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/relaticle/custom-fields)[![Laravel 12](https://camo.githubusercontent.com/5f32f51d9268f45b7376428e4a0bd33a004cdf420f9f92f2228a8e8a827a95e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c)](https://laravel.com/docs/12.x)[![PHP 8.3](https://camo.githubusercontent.com/c373bf0b203812c0ee6eaa9d496d61fe5eeec0d2748786f6b95adc35c4dccdd1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870)](https://php.net)[![License](https://camo.githubusercontent.com/27bbb8b8979e7007f21b02446cd9106d4a01ab97dd209511b8b28cb30296fd01/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4147504c2d2d332e302d626c75652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/Relaticle/custom-fields/blob/main/LICENSE)[![License](https://camo.githubusercontent.com/70739871705f6a93d76d4055bd4d7b50b0dec247417af85cda85f416c0b7d71e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f72656c617469636c652f637573746f6d2d6669656c64732f74657374732e796d6c3f6272616e63683d332e78267374796c653d666f722d7468652d6261646765266c6162656c3d7465737473)](https://github.com/relaticle/custom-fields/actions)

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

Features
--------

[](#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
------------

[](#requirements)

- PHP 8.3+
- Filament 5.0+

Getting Started
---------------

[](#getting-started)

### Integrating Custom Fields Plugin into a panel

[](#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

[](#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
-------------

[](#documentation)

For complete installation instructions, configuration options, and examples, visit our [documentation](https://relaticle.github.io/custom-fields/).

Contributing
------------

[](#contributing)

Contributions are welcome! Please see our [contributing guide](https://relaticle.github.io/custom-fields/community/contributing) in the documentation.

Licensing
---------

[](#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.

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance88

Actively maintained with recent releases

Popularity47

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 99.7% 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

Every ~3 days

Total

148

Last Release

54d ago

Major Versions

2.3.6 → 4.x-dev2026-03-15

4.x-dev → 5.x-dev2026-03-15

1.5.25 → 2.3.72026-03-18

1.x-dev → 2.x-dev2026-03-23

2.x-dev → 3.x-dev2026-03-25

PHP version history (3 changes)0.9.0PHP ^8.1

0.9.8.3PHP ^8.2

2.0.0-beta1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/db389fc77f851d2adb17e43eaaecf1b22d95a16ec94af3346b3ee0e4130fd31f?d=identicon)[ManukMinasyan](/maintainers/ManukMinasyan)

---

Top Contributors

[![ManukMinasyan](https://avatars.githubusercontent.com/u/2556185?v=4)](https://github.com/ManukMinasyan "ManukMinasyan (891 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![iboldurev](https://avatars.githubusercontent.com/u/17103170?v=4)](https://github.com/iboldurev "iboldurev (1 commits)")[![zvizvi](https://avatars.githubusercontent.com/u/4354421?v=4)](https://github.com/zvizvi "zvizvi (1 commits)")

---

Tags

custom-fieldsdata-modeldynamic-fieldsfilamentform-builderlaravel-packagemulti-tenancypluginlaravelvalidationeloquentlaravel-packagecustom fieldsFormsmulti-tenancyfilamentfilamentphpadmin-panelform-buildercsv-exportRelaticlecsv-importmanukminasyandynamic-fieldsform-fieldsconditional-fieldsfield-builderno-migrationencrypted-fields

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/relaticle-custom-fields/health.svg)

```
[![Health](https://phpackages.com/badges/relaticle-custom-fields/health.svg)](https://phpackages.com/packages/relaticle-custom-fields)
```

###  Alternatives

[okeonline/filament-archivable

A filament plugin to use archivable models

208.1k](/packages/okeonline-filament-archivable)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[tomatophp/filament-tenancy

Tenancy multi-database integration for FilamentPHP

603.8k](/packages/tomatophp-filament-tenancy)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

141.1k](/packages/mradder-filament-logger)

PHPackages © 2026

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