Skip to content

Instantly share code, notes, and snippets.

@jsifalda
Last active December 16, 2015 20:49
Show Gist options
  • Save jsifalda/5495137 to your computer and use it in GitHub Desktop.
Save jsifalda/5495137 to your computer and use it in GitHub Desktop.
Depending on packages without composer.json
"repositories": [
{
"type": "package",
"package": {
"name": "vendor/package",
"version": "1.0.0",
"dist": {
"url": "http://example.org/package.zip",
"type": "zip"
},
"source": {
"url": "git://example.org/package.git",
"type": "git",
"reference": "tag name, branch name or commit hash"
}
}
}
],
"require": {
"vendor/package": "1.0.0"
}
@jsifalda
Copy link
Author

jsifalda commented May 1, 2013

Note: repositories are only available to the root package
Link: http://slides.seld.be/?file=2012-06-07+Dependency+Management+with+Composer.html#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment