我让它在我的 composer.lock 文件中使用以下 JSON:
{
"name": "twbs/bootstrap",
"version": "v2.2.2",
"target-dir": "twbs/bootstrap",
"source": {
"type": "git",
"url": "git://github.com/twbs/bootstrap.git",
"reference": "v2.2.2"
},
"dist": {
"type": "zip",
"url": "https://github.com/twbs/bootstrap/archive/v2.3.2.zip",
"reference": "v2.2.2",
"shasum": ""
},
"type": "library",
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"description": "Sleek, intuitive, and powerful front-end framework for faster and easier web development.",
"homepage": "http://twitter.github.com/bootstrap/",
"keywords": [
"bootstrap",
"css"
],
"time": "2012-12-08 20:57:21"
}
将所有“推特”替换为 twbs。我怀疑您也可以将版本更改为 2.3.2。