我尝试将Fractal与Laravel一起使用来创建API。我正在关注this教程,但是一旦我运行作曲家更新,就会出现以下错误:
[Symfony的\元器件\调试\异常\ FatalThrowableError]
Class' Sorskod \ Larasponse \ LarasponseServiceProvider'找不到脚本@php artisan包:发现处理后自动加载转储 返回的错误代码为1
有人知道怎样解决hist吗?
在我的composer.json中:
"require": {
"php": ">=7.0.0",
"fideloper/proxy": "~3.3",
"laravel/framework": "5.5.*",
"laravel/tinker": "~1.0",
"symfony/polyfill-iconv": "^1.5",
"sorskod/larasponse": "~1.0"
},
"require-dev": {
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0",
"sorskod/larasponse": "~1.0"
},