Start with where the files belong. The upload interface and the application’s
database representation are separate decisions.
Find the requested configuration
The AI skill’s media reference points to these guides. For a specific method,
check the installed class and traits, inherited Filament API and optional Spatie
version. The component discovery report is not a complete upload API listing.
Example: an existing relational gallery
Example: Spatie collections
Check the complete save flow
Selecting previewConversion() does not define that conversion. Disk-backed
native conversions and Spatie conversions have different configuration. A custom
basename callback does not replace the configured directory. Match each method
to the chosen integration rather than transferring options blindly.
For custom disk-backed saves, follow the mounted field’s completion contract
after a successful commit. Native Resource pages and Spatie relationships have
their own integration; avoid adding a second acceptance or persistence step.
AI can inspect these references and implement the requested setup. Every upload
option and provider combination is not automatically verified by enabling the
skill; test the exact configuration used by your application. Last modified on October 17, 2026