Use a field
A signature stored in an ordinary text column. No media disk, worker or managed JSON group.
Browse a large catalog
Paginated user queries, restored labels and submitted-ID validation share one access scope.
Connect media
Post and Gallery models, two collections, custom filenames, conversions and explicit SQL persistence.
Know what you are adopting
The gallery and picker helpers ship as copyable application examples in
resources/recipes inside the Composer package. FLEX does not register their
migrations, models, routes or seeders. Review the files and adapt their names to
your existing application. Do not overwrite an existing model or migration.
The documentation’s marked code blocks are generated from those same maintained
files; CI checks for drift. The package tests execute the helpers against real
Eloquent tables and real form fields.
For media in an existing Resource, use the
native create/edit integration with the same
gallery mapper. The custom-page variant is an alternative, not a prerequisite.
Managed JSON custom fields are an optional, separate way to model configurable
attributes. They are not a prerequisite for any of these recipes.
A useful completion check
- Reject an empty or unauthorized submitted value.
- Save through the existing validated form flow.
- Reload the saved record in a fresh form.
- Edit it and save again.
- Check a failed save and a second instance where the workflow needs one.