Skip to content

Instantly share code, notes, and snippets.

@radmiraal
Created April 3, 2013 09:49
Show Gist options
  • Save radmiraal/5299876 to your computer and use it in GitHub Desktop.
Save radmiraal/5299876 to your computer and use it in GitHub Desktop.
Using custom installer paths for specific packages so you can group them in a Packages/Custom folder for example (which can turn out pretty useful with codestyle checking over a full folder, running tests for just one group of packages, and so on). Put this code in your projects composer.json file.
{
"extra": {
"installer-paths": {
"Packages/Custom/{$name}/": ["composer/packagename1", "composer/packagename2"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment