Skip to content

Instantly share code, notes, and snippets.

@sgotre
Created November 29, 2013 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgotre/7706650 to your computer and use it in GitHub Desktop.
Save sgotre/7706650 to your computer and use it in GitHub Desktop.
An composer JSON to use Composer update Commands with CloudControl Related to https://gist.github.com/sgotre/7706500
{
"name": "APPNAME",
"description": "Desc",
"version" : "0.0.1",
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "3.7.28"
},
"autoload": {
"psr-0": {
"APPNAME": "./"
}
},
"scripts": {
"post-update-cmd": "APPNAME\\Composer\\Install::preUpdate",
"post-package-install": [
"APPNAME\\Composer\\Install::postPackageInstall"
],
"pre-install-cmd": [
"APPNAME\\Composer\\Install::preInstall"
],
"post-install-cmd": [
"APPNAME\\Composer\\Install::postInstall"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment