【发布时间】:2013-11-06 18:53:10
【问题描述】:
我在通过 composer 将此模块安装到 ZF2 时遇到问题。我已经编辑了 zend 框架 2 附带的 composer.json 文件,但是当我运行命令 php composer.phar install 时它不会安装。
这是我的 composer.json 文件的样子:
"name": "speckcommerce/speck-paypal",
"description": "A generic module for adding PayPal support to a ZF2 application.",
"type": "library",
"keywords": [
"zf2"
],
"homepage": "http://github.com/speckcommerce/SpeckPaypal",
"authors": [
{
"name": "Stephen Rhoades",
"email": "steve@stephenrhoades.com",
"homepage": "http://www.stephenrhoades.com"
}
],
“要求”:{
"php": ">=5.4",
"zendframework/zendframework": "2.*"
},
“自动加载”:{
"psr-0": {
"SpeckPaypal": "src/"
},
"classmap": [
"./"
]
}
来源可以在:https://github.com/speckcommerce/SpeckPaypal
谢谢!
【问题讨论】:
标签: zend-framework2