nexcess/magento-turpentine — pull request #391 by ajardin (2013-12-10 16:26:17+00:00)
Title: Magento Composer Installer

Hi,

Recently, we decided to use **Magento Composer Installer**. This tool allows us to automatically integrate some community modules with a single configuration file in our VCS. So, the process of upgrading and deployment of these modules is extremely simplified.

(We were already using this tool but only for some Symfony components...)

Two links to explain how it works:
- [Composer](http://getcomposer.org/doc/)
- [Magento Composer Installer](https://github.com/magento-hackathon/magento-composer-installer)

To do this, you just have to configure these three things in the **composer.json** of your application.

```json
{
"require": {
"magento-hackathon/magento-composer-installer": "*",
"nexcess/magento-turpentine": "dev-magento-composer"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/magento-hackathon/magento-composer-installer"
},
{
"type": "vcs",
"url": "https://github.com/ajardin/magento-turpentine"
}
],
"extra": {
"magento-root-dir": ".",
"magento-deploystrategy": "copy",
"magento-force": true
}
}
```

And it's all you have to do on this side!

But a **composer.json** file is also required on the remote repository.
This is why I currently use the **magento-composer** branch of my fork instead of the **master** branch of this repository.

Let me know if you have any questions.

Kind regards,
Alexandre Jardin