0
我只是想jQuery和命令行 composer require components/jquery ^1.11
为什么Composer要求jquery安装不需要的PHP软件包?
进入但日志显示我:
Package operations: 4 installs, 0 updates, 0 removals
- Installing symfony/process (v3.2.7): Loading from cache
- Installing kriswallsmith/assetic (v1.4.0): Loading from cache
- Installing robloach/component-installer (0.2.3): Loading from cache
- Installing components/jquery (1.11.0): Loading from cache
为什么作曲安装PHP相关的包我从来没有打算安装?我该如何摆脱不需要的软件包?有更好的/更清洁的安装方法吗?
非常感谢了很好的解释。你能告诉我如何在没有依赖的情况下只安装纯jQuery吗?它有可能吗? – Hexodus
'作曲者需要组件/ jquery'将会安装 - 这次 - 即不需要任何依赖的版本3.2,https://github.com/components/jquery/blob/master/composer.json – hassan
谢谢哈桑! ;) – Hexodus