如何通过 composer将特定的 Bundle(例如 SonataGoutteBundle)安装到我的 Symfony2 项目中?
我试过这个,但它对我不起作用。有什么想法有什么问题吗?
"repositories": [
{
"type": "package",
"package": {
"name": "sonata-project/sonatagouttebundle",
"version": "dev-master",
"dist": {
"url": "https://github.com/sonata-project/SonataGoutteBundle.git",
"type": "git"
}
}
}
],
"require": {
"php": ">=5.3.3",
[...],
"sonata-project/sonatagouttebundle": "dev-master"
}