【发布时间】:2017-12-06 00:06:13
【问题描述】:
我正在研究 Lumen,但为什么 PHP artisan 命令不起作用。
这是我运行的命令:
~$: php artisan migrate:install
Migration table created successfully.
-$: php artisan make:migration --create=users create_users_table
[Symfony\Component\Debug\Exception\FatalThrowableError] Parse error: syntax error, unexpected ','
【问题讨论】:
-
显示您的迁移文件。代码中必须有额外的 ,
-
但工匠命令不起作用