Update:
Laravelcollective/html 已更新为Laravel 5.4
但到目前为止,文档没有任何变化。
如果您想查看拉取请求,就在这里:
https://github.com/LaravelCollective/html/pull/276 https://github.com/LaravelCollective/html/pull/276
https://github.com/LaravelCollective/html/pull/284 https://github.com/LaravelCollective/html/pull/284
只需使用:
composer require "laravelcollective/html":"^5.4"
Or,
composer require laravelcollective/html
如果您不想指定版本并获取相同的最新版本的 LaravelCollective。
旧问题:
Laravelcollective/html v5.3.0
需要 Laravel 5.3 但尚不支持Laravel 5.4
.
The laravelcollective/html v5.4
正在解决以下问题:
https://github.com/LaravelCollective/html/pull/276 https://github.com/LaravelCollective/html/pull/276
它可以随时合并。
只要留意它即可。
Edit:
或者你可以使用maddhatter's
git 存储库,因为他做了一些尚未提供的更改[email protected] /cdn-cgi/l/email-protection:st3f/html.git
存储库。
只需将其添加到您的composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/maddhatter/html.git"
}
],
"require": {
"laravelcollective/html": "5.4.x-dev",
}
and run
作曲家更新
或者,如果您不需要这些更改,您可以遵循Cerlin Boss
answer
https://stackoverflow.com/a/41845331/3887342 https://stackoverflow.com/a/41845331/3887342