Last active
December 16, 2015 20:49
-
-
Save jsifalda/5495137 to your computer and use it in GitHub Desktop.
Depending on packages without composer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: repositories are only available to the root package
Link: http://slides.seld.be/?file=2012-06-07+Dependency+Management+with+Composer.html#23