laravel 5.4:Laravelcollective/html v5.3.0需要照亮/查看5.3.* [英] laravel 5.4 : Laravelcollective/html v5.3.0 requires illuminate/view 5.3.*
问题描述
我将Laravelcollective/html v5.3.0
与laravel 5.3
一起使用.现在我正在使用laravel 5.4
.我有使用Laravelcollective/html v5.3.0
的表单.
I was using Laravelcollective/html v5.3.0
with laravel 5.3
. Now i am using laravel 5.4
. I have forms which are using Laravelcollective/html v5.3.0
.
composer require laravelcollective/html
给我以下错误:
Installation request for laravelcollective/html ^5.3 -> satisfiable by laravelcollective/html[v5.3.0].
-Conclusion: remove laravel/frameworkv5.4.0
- Conclusion: don't install laravel/framework v5.4.0
laravel 5.4何时支持Laravelcollective/html
?
When gonna laravel 5.4 support Laravelcollective/html
?
推荐答案
更新:
Laravelcollective/html已更新为Laravel 5.4
,但到目前为止,文档中没有任何更改.
如果要查看拉取请求,请点击此处:
The Laravelcollective/html has been updated to Laravel 5.4
but there is no any changes in the documentation till now.
If you want to see the pull request it is right here:
https://github.com/LaravelCollective/html/pull/276
https://github.com/LaravelCollective/html/pull/284
只需使用:
composer require "laravelcollective/html":"^5.4"
或者,
composer require laravelcollective/html
如果您不想指定版本并获得相同的LaravelCollective最新版本.
If you don't want to specify the version and get the same latest version of LaravelCollective.
旧版本:
Laravelcollective/html v5.3.0
需要Laravel 5.3,尚不支持Laravel 5.4
.
Laravelcollective/html v5.3.0
requires Laravel 5.3 and not yet supports Laravel 5.4
.
laravelcollective/html v5.4
尚未解决:
https://github.com/LaravelCollective/html/pull/276
它可以随时合并.
只要注意一下.
或者,您可以使用maddhatter's
git存储库,因为他做了git@github.com:st3f/html.git
存储库中尚未提供的某些更改.
Alternatively you could use maddhatter's
git repository as he had done some changes that is not yet provided in git@github.com:st3f/html.git
repository.
只需将其添加到您的composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/maddhatter/html.git"
}
],
"require": {
"laravelcollective/html": "5.4.x-dev",
}
然后运行
作曲家更新
composer update
或者,如果您不需要这些更改,则可以按照Cerlin Boss
答案
Or, if you don't need those changes you could follow Cerlin Boss
answer
https://stackoverflow.com/a/41845331/3887342
这篇关于laravel 5.4:Laravelcollective/html v5.3.0需要照亮/查看5.3.*的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!