Skip to content

Instantly share code, notes, and snippets.

@rakauchuk
Created October 19, 2015 07:42
Show Gist options
  • Save rakauchuk/7f6a1bf4dfb19e920e50 to your computer and use it in GitHub Desktop.
Save rakauchuk/7f6a1bf4dfb19e920e50 to your computer and use it in GitHub Desktop.
Use self git-fork in composer

"behat/behat" is the original library and "dev-fork" is the branch is needed. "rakauchuk/Behat" is a fork of "dev-master" branch. "composer update" should get the modified version of "behat/behat"

{
"name": "",
"license": "proprietary",
"description": "",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/rakauchuk/Behat"
}
],
"require": {
"behat/behat": "dev-master"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"bin-dir": "bin/"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment