squizlabs/PHP_CodeSniffer — pull request #66 by alcohol (2012-11-02 10:32:10+00:00)
Title: composer.json + required changes

This is all I had to do to get composer.json working. Please review the changes. I am curious to hear what we could do about the placeholders that pear's package.xml normally takes care of.

This is the composer.json I used in one of my projects:

# cat composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com/alcohol/PHP_CodeSniffer"
}
],

"require": {
"phpunit/phpunit": "*",
"phpunit/dbunit": "*",
"phpmd/phpmd": "*",
"behat/behat": "*",
"squizlabs/codesniffer": "*",
"kriswallsmith/buzz": "*"
},

"minimum-stability": "dev",

"config": {
"bin-dir": "bin/"
}
}

I imagine the repositories property will no longer be required once you sign up @ packagist.org