1
我每次我试图创建laravel项目不能创建laravel使用
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[BadMethodCallException]
Method after does not exist.
Script php artisan optimize handling the post-update-cmd event returned with error code 1
显然这与新遗物有关...请参阅https://laracasts.com/discuss/channels/laravel/badmethodcallexception-with-message-method-after-does-not-exist?page=1 – Sherif