我只想要jQuery并在命令行输入
但是日志显示我: p>
为什么Composer会安装我从未打算安装的PHP相关软件包? 我如何摆脱不需要的包裹? 是否有更好/更清洁的安装方法? p>
div> composer require components / jquery ^ 1.11 代码> p>
包操作:4次安装,0次更新,0次删除
- 安装symfony / 进程(v3.2.7):从缓存加载
- 安装kriswallsmith / assetic(v1.4.0):从缓存加载
- 安装robloach / component-installer(0.2.3):从缓存加载
- 安装组件/ jquery(1.11.0):从缓存加载
code> pre>
I just wanted jQuery and entered in the command line
composer require components/jquery ^1.11
But the log shows me:
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
Why does Composer install PHP related packages I never intended to install? And how do I get rid of the unwanted packages? Is there an better/cleaner install method?