我试图在Bundle中使用Bundle但不知何故它是failig.
"repositories": [ { "type": "vcs","url": "https://github.com/myname/mybundle" } ],"require": { "PHP": ">=5.3.3","symfony/symfony": "2.1.*",(...) "myname/mybundle": "*" },
这似乎到目前为止工作.但我无法弄清楚如何在“myname / mybundle”中声明另一个依赖项.
我在myname / mybundle的composer.json文件中尝试了以下内容,但没有一个工作:(
"repositories": [ { "type": "vcs","url": "url": "https://github.com/drymek/PheanstalkBundle" } ],"require": { (...) "drymek/PheanstalkBundle": "dev-master" }
和
"repositories": [ { "type": "package","package": { "name": "drymek/PheanstalkBundle","version": "dev-master","source": { "url": "https://github.com/drymek/PheanstalkBundle.git","type": "git","reference": "master" } } } ],"require": { (...) "drymek/PheanstalkBundle": "dev-master" }
当我朗读composer.phar更新我得到的全部是
– myname / mybundle dev-master需要drymek / pheanstalkbundle dev-master – >找不到匹配的包.
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。