Laravel模块,在单个命令(Artisan)中创建模型,迁移和控制器
我正在研究一个模块Laravel项目,我想知道是否可以在单个命令(Artisan)中创建模型,迁移和控制器。
我已经知道此命令:
php artisan make:model Todo -mcr
这仅在默认的Laravel项目中起作用,而不是模块化的项目。
我还阅读了“ nofollow noreferrer”> Modular Artisan Commands Docs ,但是没有提及这个问题。
I'm working on a modules Laravel project, and I wonder if it is possible to create model, migration and controller in single command (artisan).
I'm already aware of this command:
php artisan make:model Todo -mcr
This only works in a default Laravel project not a modular one.
I also read all the commands in modular artisan commands docs, but there is no mention of this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
跟随官方文档:
Following the official documentation :