我试图将Laravel 5.3更新为星期六发布的Laravel 5.4,我收到此消息:
Problem 1
- laravelcollective/html 5.3.x-dev requires illuminate/view 5.3.* -> satisfiable by laravel/framework[v5.3.20], illuminate/view[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- laravelcollective/html 5.3.x-dev requires illuminate/view 5.3.* -> satisfiable by laravel/framework[v5.3.20], illuminate/view[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- laravelcollective/html 5.3.x-dev requires illuminate/view 5.3.* -> satisfiable by laravel/framework[v5.3.20], illuminate/view[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- Can only install one of: laravel/framework[v5.4.0, v5.3.20].
- don't install illuminate/view v5.3.0|don't install laravel/framework v5.4.0
- don't install illuminate/view v5.3.16|don't install laravel/framework v5.4.0
- don't install illuminate/view v5.3.23|don't install laravel/framework v5.4.0
- don't install illuminate/view v5.3.4|don't install laravel/framework v5.4.0
- Installation request for laravel/framework 5.4.0 -> satisfiable by laravel/framework[v5.4.0].
- Installation request for laravelcollective/html 5.3.*-dev -> satisfiable by laravelcollective/html[5.3.x-dev].
事情是,我没有看到laravelcollective发布了5.4版本。
我是否需要等待他们发布新版本或我遗失了什么?
为什么它不在升级指南中,它是Laravel中非常重要的库。
答案 0 :(得分:1)
你有一些选择。 Laravel Collective是一个受欢迎的软件包,因此人们已经在应用5.4所需的修复程序。请在拉取请求中查看以下主题。
https://github.com/LaravelCollective/html/pull/276
因此,为了使用5.4的软件包,根据线程中的注释,您需要将composer.json更改为这样。
"laravel/collective": "5.4.x-dev",
然后运行composer update
如果您愿意,也可以使用特定的提交。在这种情况下,要使用此pull请求的提交,您的composer.json将如此。
"laravelcollective/html": "dev-master#92f3ba71c5c11c752ddd68d614f5f0665e759220",