composer/composer — pull request #215 by igorw (2012-01-17 09:05:30+00:00)
Title: Refactor Application::bootstrapComposer into a factory class (split from #178)

Usage:

$composer = Composer\Factory::create();

Optionally a filename pointing to composer.json can be passed to the create method.

$composer = Composer\Factory::create(__DIR__.'/some/dir/alt.composer.json');