这个仓库可以让npm和bower包作为composer原生包安装.
不 需要插件 不 需要Node.js.
我们已经添加了常用的npm和bower包
当用Composer安装失败的时候, 使用顶部的搜索栏检查指定包的健康状态.
For NPM scoped packages use `scope--package` instead of `@scope/package`, e.g. `npm-asset/pusher--chatkit`.(不知道怎么翻译)
用以下方法添加包:
"require": {
"bower-asset/bootstrap": "^3.3",
"npm-asset/jquery": "^2.2"
}
然后加入以下行:
"repositories": [
{
"type": "composer",
"url": "https://repo.asset-packagist.youtuoapp.com"
}
]
因为厌倦了 fxp/composer-asset-plugin
.
它是一个有好想法的项目,也是一个好的实现.但是它有一些问题:当使用composer update
时非常缓慢,而且需要全局安装一个插件, 这会影响所有项目. Also there are Travis
and Scrutinizer integration special problems, that are a bit annoying(不知道怎么翻译).
问题?