plugin icon indicating copy to clipboard operation
plugin copied to clipboard

"New Eloquent Model" UI discussion

Open adelf opened this issue 1 year ago • 52 comments

Planned features:

  • [x] completions for field names based on model names, like "user_id", "post_id"
  • [x] allow adding belongsTo relations
  • [x] "Settings" dialog with all post-generation parameters like class name patterns("create_${MODEL_NAME|className|snakeCase|plural}_table") or should the "authorize" method be generated for form requests
  • [ ] More post-generations: seeder, Nova/Filament resources, etc.
  • [x] Option to generate "$fillable" array in the model class (available in 7.0.1)
  • [x] tinyInt and boolean field types (available in 7.0.1)
  • [x] add HasFactory trait if there is a factory class (available in 7.0.1)

adelf avatar Mar 20 '23 20:03 adelf