Compositeur
, (*1)
composer parallel update plugin for vcs, (*2)
Requirements
- composer
>=1.0.0
(includes dev-master)
- PHP
>=5.3
, (suggest >=5.5
, because curl_share_init
)
- ext-curl
Install
Simply add a dependency on liuggio/fastest to your project's composer.json file:, (*3)
{
"require": {
"planktonfun/compositeur": "~0.1",
}
}
then run, (*4)
$ composer update --prefer-stable
Uninstall
$ composer remove planktonfun/compositeur
Benchmark Example
Before (4m 13.948s), (*5)
$ time composer update --prefer-stable -o
, (*6)
After (7.093s), (*7)
$ time ./bin/compositeur
, (*8)
Config
compositeur ^0.1
There are no configs., (*9)
Usage
$ time ./bin/compositeur
Known Limitations
It only updates existing repositories not install them
Compositeur doesn't install new vendors it just updates them.
if you need to install new vendors you have to install them manually, (*10)
$ composer install
Only available in linux systems
Unfortunately, automating adding of passwords via ssh-agent on windows is not possible via command
but there's a workaround, (*11)
ssh-keygen -t dsa
name it compositeur_dsa
and no passwords, (*12)
save it in ~/.ssh/compositeur_dsa
, (*13)
and save the ~/.ssh/compositeur_dsa.pub
in your vendor site, (*14)
in my case its https://bitbucket.org, (*15)
then your done. try again., (*16)