Skip to content

Instantly share code, notes, and snippets.

@kthalmann
Last active June 13, 2019 15:44
Show Gist options
  • Save kthalmann/c3ea1f1e82aae0496bbdef69daf81a36 to your computer and use it in GitHub Desktop.
Save kthalmann/c3ea1f1e82aae0496bbdef69daf81a36 to your computer and use it in GitHub Desktop.
Use specific branch when developing on local composer package
{
"repositories": [
{
"type": "path",
"url": "../my-local-dev-package",
"options": {
"symlink": true
}
},
],
"require": {
"my/package": "@dev", /* use master branch */
"my/package": "1.x-dev" /* or use for example 1.x branch instead of master */
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment