php artisan make:auth 报错 not defined

来源:互联网 发布:java异步http请求post 编辑:程序博客网 时间:2024/06/16 04:06

今天试了下官方的用户验证,按照手册执行php artisan make:auth报如下错误

InvalidArgumentException] Command "make:auth" is not defined Did you mean one of these?

  make:test  make:request  make:migration  make:seeder  make:middleware  make:controller  make:provider  make:policy  make:event  make:console  make:job  make:listener  make:model  make:command
搜索了一下问题原因,这个命令5.2,5.4版本是支持的,5.1版本不支持,更换5.4版本ok了,但是更改composer.json文件升级5.4版本还是报错。


参考文档:

https://stackoverflow.com/questions/34545641/php-artisan-makeauth-command-is-not-defined

https://segmentfault.com/q/1010000005990276?_ea=980117

阅读全文
0 0
原创粉丝点击