© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
21 replies
Abdur Razzaque

Automatically generating forms and tables | doctrine/dbal

Sometimes this command generate the form and table data. But most of the time it's not work. I installed the
docrine/dbal
docrine/dbal
package and give protected_fillable data to model, but it's still not working.
What should I do to find the problem?
Why this command not generating the data automatically?
php artisan make:filament-resource Customer --generate
php artisan make:filament-resource Customer --generate
Solution
yes, the generator looks at the DB table, not Model. so make sure to run migration before
filament:resource --generate
filament:resource --generate
, you can add
--force
--force
flag to replace the generated resource
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Automatically generating forms and tables not working?
FilamentFFilament / ❓┊help
2y ago
Forms and tables
FilamentFFilament / ❓┊help
2y ago
Tabs: Mixing Tables and Forms
FilamentFFilament / ❓┊help
3y ago
Reusing tables and forms from Resources
FilamentFFilament / ❓┊help
3y ago