This repository allows installation of Bower and NPM packages as native Composer packages.
NO plugins and NO Node.js are required.
At the moment we've added most popular Bower and NPM packages 4000 each.
In case Composer fails to install some asset package, use the search line at the top of the page to check specific package health.
For NPM scoped packages use `scope--package` instead of `@scope/package`, e.g. `npm-asset/pusher--chatkit`.
List required packages like the following:
"require": {
"bower-asset/bootstrap": "^3.3",
"npm-asset/jquery": "^2.2"
}
And add these lines:
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
Got tired of fxp/composer-asset-plugin
.
It's a good project with nice idea and good implementation.
But it has some issues: it slows down composer update
a lot and
requires global installation, so affects all projects. Also there are Travis
and Scrutinizer integration special problems, that are a bit annoying.
Questions?