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

Gam*_*mer 12 php forms laravel laravelcollective

我用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
Run Code Online (Sandbox Code Playgroud)

什么时候laravel 5.4支持Laravelcollective/html

Pal*_*diN 19

更新:

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"
Run Code Online (Sandbox Code Playgroud)

要么,

composer require laravelcollective/html
Run Code Online (Sandbox Code Playgroud)

如果您不想指定版本并获得相同的最新版本的LaravelCollective.

旧问题:

Laravelcollective/html v5.3.0需要Laravel 5.3并且还不支持Laravel 5.4.

laravelcollective/html v5.4是在公开问题:

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

它可以随时合并.

只要注意它.

编辑:

或者,您可以使用maddhatter'sgit存储库,因为他已完成了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",
}
Run Code Online (Sandbox Code Playgroud)

并运行

作曲家更新

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

/sf/answers/2929173201/