gpt4 book ai didi

php - laravel 5.4 : Laravelcollective/html v5. 3.0 需要照亮/查看 5.3.*

转载 作者:行者123 更新时间:2023-12-03 00:56:04 25 4
gpt4 key购买 nike

我将 Laravelcollective/html v5.3.0laravel 5.3 一起使用。现在我使用的是laravel 5.4。我有使用 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

最佳答案

更新:

Laravelcollective/html 已更新至 Laravel 5.4 但到目前为止文档中没有任何更改。如果您想查看拉取请求,就在这里:

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。

旧问题:

Laravelcollective/html v5.3.0 需要 Laravel 5.3,但尚不支持 Laravel 5.4

laravelcollective/html v5.4 正在解决以下问题:

https://github.com/LaravelCollective/html/pull/276

它可以随时合并。

只要留意它即可。

编辑:

或者,您也可以使用 maddhatter 的 git 存储库,因为他做了一些 git@github.com:st3f/html.git 中尚未提供的更改存储库。

只需将其添加到您的 composer.json

"repositories": [
{
"type": "vcs",
"url": "https://github.com/maddhatter/html.git"
}
],
"require": {
"laravelcollective/html": "5.4.x-dev",
}

然后运行

composer update

或者,如果您不需要这些更改,您可以按照 Cerlin Boss 回答

https://stackoverflow.com/a/41845331/3887342

关于php - laravel 5.4 : Laravelcollective/html v5. 3.0 需要照亮/查看 5.3.*,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41845042/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com