代码提示插件:barryvdh/laravel-ide-helper
使用方法:重新生成model文件(自动添加注释):php artisan ide-helper:models
工厂辅助插件:mpociot/laravel-test-factory-helper
使用方法:在建完model后,执行php artisan test-factory-helper:generate 自动生成工厂文件。
代码提示插件:barryvdh/laravel-ide-helper
使用方法:重新生成model文件(自动添加注释):php artisan ide-helper:models
工厂辅助插件:mpociot/laravel-test-factory-helper
使用方法:在建完model后,执行php artisan test-factory-helper:generate 自动生成工厂文件。
本文标题:常用命令
本文链接:https://www.haomeiwen.com/subject/ewifpftx.html
网友评论