capistrano/composer — pull request #6 by peterjmit (2013-11-08 00:00:02+00:00)
Title: Configurable environment variables for composer:install

I am working on rewriting Capifony to v3, and rather than rewriting composer logic, it is better shared!

We need to be able to set environment variables during the composer run therefore I have added that capability

Therefore a user can do something like

```ruby
set :composer_env, { symfony_env: 'prod' }
```

Which would result in `SYMFONY_ENV=prod /usr/bin/env composer install` being run