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

[5.4] Generate model with make:controller #17587

Merged
merged 1 commit into from
Jan 27, 2017

Conversation

sileence
Copy link
Contributor

Ask the user if he wants to generate the model if the model does not exist when using:

php artisan make:controller SomethingController --model=NonExistentModel

https://s27.postimg.org/rpv92zkcj/Screen_Shot_2017_01_26_at_21_37_55.png

@sileence sileence force-pushed the improve_controller_generator branch 2 times, most recently from 6ed936c to 45558d6 Compare January 26, 2017 22:38
@sileence sileence force-pushed the improve_controller_generator branch from 45558d6 to 6213395 Compare January 26, 2017 23:14
@GrahamCampbell
Copy link
Member

Nice idea.

@taylorotwell taylorotwell merged commit 6213395 into laravel:5.4 Jan 27, 2017
@ShahidH
Copy link

ShahidH commented Jan 27, 2017

Great idea. It would be nice to add migration as well.

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

Successfully merging this pull request may close these issues.

4 participants