这是CMD的屏幕截图
问题1
-结论:请勿安装laravel / framework v5.6.29
-结论:请勿安装laravel / framework v5.6.28
-结论:请勿安装laravel / framework v5.6.27
-结论:请勿安装laravel / framework v5.6.26
-结论:请勿安装laravel / framework v5.6.25
-结论:请勿安装laravel / framework v5.6.24
-结论:请勿安装laravel / framework v5.6.23
-结论:请勿安装laravel / framework v5.6.22
-结论:请勿安装laravel / framework v5.6.21
-结论:请勿安装laravel / framework v5.6.20
-结论:请勿安装laravel / framework v5.6.19
-结论:请勿安装laravel / framework v5.6.18
-结论:请勿安装laravel / framework v5.6.17
-结论:请勿安装laravel / framework v5.6.16
-结论:请勿安装laravel / framework v5.6.15
-结论:请勿安装laravel / framework v5.6.14
-结论:请勿安装laravel / framework v5.6.13
-结论:请勿安装laravel / framework v5.6.12
-结论:请勿安装laravel / framework v5.6.11
-结论:请勿安装laravel / framework v5.6.10
-结论:请勿安装laravel / framework v5.6.9
-结论:请勿安装laravel / framework v5.6.8
-结论:请勿安装laravel / framework v5.6.7
-结论:请勿安装laravel / framework v5.6.6
-结论:请勿安装laravel / framework v5.6.5
-结论:请勿安装laravel / framework v5.6.4
-结论:请勿安装laravel / framework v5.6.3
-结论:请勿安装laravel / framework v5.6.2
-结论:请勿安装laravel / framework v5.6.1
-结论:请勿安装symfony / process v4.1.3
-laravel / framework 5.6。*的安装要求-laravel / framework可满足[v5.6.0,v5.6.1,v5.6.10,v5.6.11,v5.6.12, v5.6.13,v5.6.14,v5.6.15,v5.6.16,v5.6.17,v5.6.18,v5.6.19,v5.6.2, v5.6.20,v5.6.21,v5.6.22,v5.6.23,v5.6.24,v5.6.25,v5.6.26, v5.6.27,v5.6.28,v5.6.29,v5.6.3,v5.6.4,v5.6.5,v5.6.6,v5.6.7, v5.6.8,v5.6.9]。 -结论:请勿安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.1 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.2 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.3 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.4 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.5 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.6 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.7 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.8 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.9 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.10 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.11 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.12 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.13 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.0.14 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.1.0 |安装phpspec / phpspec 2.5.8
-结论:请勿安装symfony / process v4.1.1 |安装phpspec / phpspec 2.5.8- laravel/framework v5.6.0 requires symfony/process ~4.0 -> satisfiable by symfony/process[v4.0.0, v4.0.1, v4.0.10, v4.0.11,
v4.0.12,v4.0.13,v4.0.14,v4.0.2,v4.0.3,v4.0.4,v4.0.5,v4.0.6, v4.0.7,v4.0.8,v4.0.9,v4.1.0,v4.1.1,v4.1.2,v4.1.3]。 -结论:请勿安装symfony / process v4.1.2 |安装phpspec / phpspec 2.5.8 -phpspec / phpspec〜2.1的安装请求-> phpspec / phpspec可满足[2.1.0、2.1.1、2.2.0、2.2.1、2.3.0、2.4.0、2.4.1, 2.5.0、2.5.1、2.5.2、2.5.3、2.5.4、2.5.5、2.5.6、2.5.7、2.5.8]。
我的镇静:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"laravel/framework": "5.6.*"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
}
}
如何更新到 Laravel 5.6 ?
答案 0 :(得分:1)
尝试删除 composer.lock文件 + 供应商文件夹
然后再次运行composer install