Created
June 19, 2012 22:53
-
-
Save jonathaningram/2957007 to your computer and use it in GitHub Desktop.
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
{ | |
"name": "myproject", | |
"description": "", | |
"autoload": { | |
"psr-0": { "": "src/" } | |
}, | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://packages.zendframework.com/" | |
} | |
], | |
"require": { | |
"php": ">=5.3.10", | |
"zendframework/zend-feed": "dev-master" | |
} | |
} |
@Seldaek I am not sure if *@
is just a wildcard, but FYI, I found it was necessary to specifically write this:
{
"zendframework/zend-cache": "2.0.0-beta4",
"zendframework/zend-feed": "2.0.0-beta4",
"zendframework/zend-http": "2.0.0-beta4"
}
Note: I added some additional lines that don't appear to be require
d by ZF (even though I think they should be even if they are optionally used).
_@ is nothing, but 2.0._
is a wildcard match on any 2.0.n version, and@beta
means it can take versions up to beta (that includes stable/rc/beta), otherwise it'll be (once we switch the default stability to stable instead of dev) only looking at stable releases.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I said it on twitter, but the long version is that the components on http://packages.zendframework.com/ only have the tags (2.0.0-beta4), so since you ask for dev-master, it can't find it with the component, so it falls back to zendframework/zendframework dev-master which replaces all the subcomponents as per http://packagist.org/packages/zendframework/zendframework. Switch the requirement to
2.0.*@beta
and it should be alright.