magento/magento2 — pull request #39 by cyqui (2012-07-09 16:39:02+00:00)
Title: Have you heard of Composer ?

Magento is starting to have a lot of dependencies, most of the time heavies dependencies (Zend, etc..) and in real Magento projects we also have dependencies.

Composer is a tool that manage dependencies in PHP. It used in Symfony 2.1 to manage Symfony's dependencies.
Very nice PPT here:
http://slides.seld.be/?file=2012-06-07+Dependency+Management+with+Composer.html

There is already thousands PHP Packages that has a composer.json file (like this one) describing their packages.
For example, one of Magento 2 dependencies already use it :
https://github.com/phpseclib/phpseclib/blob/master/composer.json
If you use it as well you will benefit from it.

Once you will have a composer.json file, your project will be crawlable by "packagist" :
http://packagist.org

My company is using packagist internally to index reusable packages.
It will be awsome if we can use Composer within Magento 2.0.

Thanks in advance

PS:
The composer.json i'm suggesting here is minimalistic, but that's a start, feel free to ask if you need infos :)
(i'm pretty sure that Composer authors will provide supports as well if you need it)