Skip to content

Instantly share code, notes, and snippets.

@zircote
Created May 19, 2012 02:28
Show Gist options
  • Save zircote/2728721 to your computer and use it in GitHub Desktop.
Save zircote/2728721 to your computer and use it in GitHub Desktop.
Example Composer utlizing Zend Framework 1.11.9 via SVN
{
"name": "zircote/Org",
"type": "library",
"version": "0.2.0",
"time" : "2012-04-21",
"description": "New world API Order",
"keywords": ["api"],
"homepage": "http://github.com/zircote/Org/",
"repositories": [
{
"type": "vcs",
"url": "git@github.com:zircote/oauth2-php.git"
},
{
"type": "vcs",
"url": "git@github.com:zircote/swagger-php.git"
},
{
"type" : "vcs",
"url" : "git@github.com:zircote/Hal.git"
},
{
"type" : "package",
"package" : {
"name": "rediska/rediska",
"version" : "master-dev",
"source" : {
"type" : "git",
"url" : "git@github.com:zircote/Rediska.git",
"reference" : "master"
},
"autoload": {
"psr-0": {"Rediska": "library"}
}
}
},
{
"type": "package",
"package": {
"name": "zend/zendframework",
"version" : "1.11.9",
"source": {
"url": "http://framework.zend.com/svn/framework/standard",
"type": "svn",
"reference": "tags/release-1.11.9/"
},
"autoload": {
"psr-0": {
"Zend": "library",
"ZendX" : "library"
}
},
"config": {
"bin-dir": "bin"
}
}
}
],
"require": {
"php": ">=5.3.3",
"zircote/Hal": "master-dev",
"zircote/swagger-php": "master-dev",
"videlalvaro/php-amqplib" : "master-dev",
"rediska/rediska" : "master-dev",
"zend/zendframework" : "*"
},
"autoload": {
"psr-0": {"Org": "library"}
}
}
@lukeab
Copy link

lukeab commented Oct 19, 2012

quick fix for ZendX path
the psr-0 needs to be

"psr-0":{
  "Zend": "library",
  "ZendX": "extras/library"
}

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