当我使用命令时,我无法在 laravel 5.8 中安装集合:
composer require "laravelcollective/html":"^5.8.0"
我的终端出现以下错误:
[UnexpectedValueException]
Could not parse version constraint :5.8.0: Invalid version string ":5.8.0"
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-
with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--o
ptimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
最佳答案
尝试使用单引号安装:
Composer 需要'laravelcollective/html:^5.8.0'
关于php - 无法在 laravel 5.8 中安装集合,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55922939/