安装程序包时出现Laravel 5错误


Laravel 5 error while installing package

当我从laravel 4.2升级到laravel 5时,我在从composer 安装包时遇到了这个错误

Call to undefined method Illuminate'Config'Repository::package()

这个问题是因为您尝试使用的包尚未更新为使用Laravel 5。

没有解决方案或修复方案,您必须等待包更新,或者分叉并提交PR

将其添加到您的composer.json 中

"要求":{"laravel/framework":"dev-master#846c935194a036901ba6b4397c8897fa51e19111",。。。}

有关更多信息,请参阅下面的链接:

https://laracasts.com/discuss/channels/general-discussion/l5-latest-commit-breaks-if-using-waygenerators-or-image-internvention