PHPackages                             hungrybus/filament-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hungrybus/filament-custom-fields

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

hungrybus/filament-custom-fields
================================

This plugin allows to create custom fields via front-end

0.2.1(1y ago)6332[4 PRs](https://github.com/HungryBus/filament-custom-fields/pulls)MITPHPPHP ^8.1CI passing

Since Jan 19Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/HungryBus/filament-custom-fields)[ Packagist](https://packagist.org/packages/hungrybus/filament-custom-fields)[ Docs](https://github.com/hungrybus/filament-custom-fields)[ GitHub Sponsors](https://github.com/HungryBus)[ RSS](/packages/hungrybus-filament-custom-fields/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (8)Used By (0)

This plugin allows to create custom fields via front-end
========================================================

[](#this-plugin-allows-to-create-custom-fields-via-front-end)

[![Latest Version on Packagist](https://camo.githubusercontent.com/46f847a36a334ddf8492728d418ac541d7c37feaeb7fcee7c27126dd37e201af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68756e6772796275732f66696c616d656e742d637573746f6d2d6669656c64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hungrybus/filament-custom-fields)[![GitHub Tests Action Status](https://camo.githubusercontent.com/1a97b74312c16ea108461a1da6b68a15f370250d0e54a3aebdd0c45b73ea564e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68756e6772796275732f66696c616d656e742d637573746f6d2d6669656c64732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/hungrybus/filament-custom-fields/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e9b9ddea1566e2b3d38d0930986a0013c382a0b7d3c5b5aa2663c4c3348810ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68756e6772796275732f66696c616d656e742d637573746f6d2d6669656c64732f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/hungrybus/filament-custom-fields/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/3a4a99c546a0923c86f81fce4c57b8ed6481395baa1f2cea5df8ba35bf2942a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68756e6772796275732f66696c616d656e742d637573746f6d2d6669656c64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hungrybus/filament-custom-fields)

Filament Custom Fields is a plugin for Laravel Filament that allows you to add custom fields to your Filament resources.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require hungrybus/filament-custom-fields
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="HungryBus\FilamentCustomFields\FilamentCustomFieldsServiceProvider"
```

After publishing the migration files, run the migrations:

```
php artisan migrate
```

Configuration
-------------

[](#configuration)

The package provides a configuration file located at `config/custom-fields.php`. In this file, you can specify the resources and models that will utilize custom fields. For example:

```
