我正在尝试将我的Laravel升级5.5为5.6.我已按照laravel网站的说明进行操作,但我收到此错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package laravel/framework 5.6.* is satisfiable by laravel/framework[5.6.x-dev] but these conflict with your requirements or minimum-stability.
Run Code Online (Sandbox Code Playgroud)
所以,我改变了我的composer.json文件并添加了2行:**"minimum-stability": "dev", "prefer-stable": true,**基于这个 laracast讨论的第一个答案.
一切似乎工作得很好,直到我得到另一个错误:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 6 updates, 0 removals
- Updating sebastian/diff (2.0.1 => 3.0.0): Downloading (100%)
- Updating phpunit/phpunit-mock-objects (5.0.6 …Run Code Online (Sandbox Code Playgroud) 我已将PHP 版本更新为 7.2并将文件中的Laravel 版本composer.json更改为5.7.*
然后我composer update在控制台中运行并希望确保 Laravel 已更新(自从我将请求发送给我的托管团队以来,我没有看到命令的结果)
有没有办法确定正在运行哪个版本?