Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

chriss39's avatar

Automatically create Nova Models

Does anyone know if someone has created a package that would read your migrations and create your models for nova? I would think it would save a lot of time to say run an artisan command and boom a model with each field for each table is created and from there you could customize it. Just asking as I am looking at adding nova to a project where there are over 60 tables and feel this would save a ton of time.

0 likes
1 reply
berimbasket's avatar

I think we can do this by a method that if not is any definition in the nova folder we repeat all those existing fields as test and sortable by default. but now I can't find any module in Git Hub. i search more to find solutions to share here with others. maybe i will decide to create it

Please or to participate in this conversation.