You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-1Lines changed: 46 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,36 @@ Hi! We are a web development agency from Nijmegen in the Netherlands and we use
12
12
## About the package
13
13
14
14
This package provides a simple - yet extendable - way to add configurable fields to your Filament resources. We provide you all Filament Form fields and a way to add your own fields.
15
-
[
15
+
16
+
## Features
17
+
18
+
- 🎯 **Easy Integration**: Seamlessly integrates with your Filament resources
19
+
- 🔧 **Configurable Fields**: Add and manage custom fields for your models
20
+
- 🎨 **Built-in Field Types**: Includes common Filament form fields like:
21
+
- Text
22
+
- Textarea
23
+
- Rich Text Editor
24
+
- Select
25
+
- Checkbox
26
+
- Checkbox List
27
+
- Key-Value
28
+
- Radio
29
+
- Toggle
30
+
- Color Picker
31
+
- DateTime
32
+
- Tags
33
+
- ✨ **Extensible**: Create your own custom field types
34
+
- 🔄 **Data Mutation**: Hooks to modify field data before filling forms or saving
35
+
- 🏢 **Multi-tenant Support**: Built-in support for multi-tenant applications
36
+
- 🛡️ **Type Safe**: Leverages PHP enums for field types
37
+
38
+
This package is perfect for scenarios where you need to:
39
+
- Add dynamic custom fields to your models
40
+
- Allow users to configure form fields through the admin panel
41
+
- Build flexible content management systems
42
+
- Create customizable settings pages
43
+
44
+
16
45
## Installation
17
46
18
47
You can install the package via composer:
@@ -90,6 +119,22 @@ class EditSetting extends EditRecord
90
119
}
91
120
```
92
121
122
+
### Add resources as options for select fields
123
+
124
+
To add resources as options for select fields, you can add them to the `filament-fields.select.resource_options` config array.
0 commit comments