Use composer to install PHP dependencies for a directory
Install composer dependencies for a directory.
If composer has not been installed globally making it avaliable in the system PATH & making it executible, the composer and php parameters will need to be set to the location of the executables.
CLI Example:
salt '*' composer.install /var/www/application
salt '*' composer.install /var/www/application no_dev=True optimize=True
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.