我对Laravel很安静,我发现它很好,很容易主要来自CodeIgniter背景。但今天我刚刚偶然发现了我与Laravel的第一个大问题,它是伟大的作曲家。LucaDegasperi OAuth2Server问题与Laravel 4与作曲家更新
我刚刚从GIT克隆了Laravel web项目。一旦克隆,我无法在本地XAMPP服务器上运行该应用程序。不过,我觉得也许这是一个依赖问题,所以我跑作曲家更新,这里是我得到的错误:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Generating autoload files
{"error":
{
"type":"ErrorException",
"message":"Declaration of LucaDegasperi\\OAuth2Server\\OAuth2ServerServiceProvider::boot() should be compatible with Illuminate\\Support\\ServiceProvider::boot()",
"file":"C:\\xampp\\htdocs\\working_folder\\myproject\\vendor\\lucadegasperi\\oauth2- server-laravel\\src\\OAuth2ServerServiceProvider.php",
"line":177
}
}
{"error":
{
"type":"ErrorException",
"message":"Declaration of LucaDegasperi\\OAuth2Server\\OAuth2ServerServiceProvider::boot() should be compatible with Illuminate\\Support\\ServiceProvider::boot()",
"file":"C:\\xampp\\htdocs\\working_folder\\myproject\\vendor\\lucadegasperi\\oauth2-server-laravel\\src\\OAuth2ServerServiceProvider.php",
"line":177
}
}
我已经研究了上线解决方案,但我没有机会修复它。下面是几件事情我已经尝试:
- 改版本的包lucadegasperi /的oauth2-服务器laravel的
- 变化用于开发稳定的最低稳定性,反之亦然
所有尝试的修复导致了其他错误。
有谁知道什么可以在这里是问题,如果是的话我能做些什么来解决这个问题