Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy scaffold new models with CRUD features #51

Closed
drsounds opened this issue Sep 4, 2020 · 1 comment
Closed

Easy scaffold new models with CRUD features #51

drsounds opened this issue Sep 4, 2020 · 1 comment

Comments

@drsounds
Copy link

drsounds commented Sep 4, 2020

I want a feature that is a command that makes it easy to scaffold new model and CRUD-functionality on the dashboard like

php artisan jetstream:crud topic --fields=name:text
php artisan jetstream:crud article --fields=name:text,description:text,topic:topic_id

That automatically creates code for the App\Models, Controllers and pages with vue code and inertiajs/livewire code for CRUD. fields ending with _id will create an one to many relation or _ids create a many to many relationship, both with typeaheads on the frontend.

@taylorotwell
Copy link
Member

This isn't a bug report so closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants