I'm trying to use the bundle inside the bundle, but for some reason this is failig.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/myname/mybundle"
}
],
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.1.*",
(...)
"myname/mybundle": "*"
},
it seems to work so far. But I cannot figure out how to declare another dependency in "myname / mybundle".
I tried the following in the composer.json myname / mybundle file, but none of them worked :(
"repositories": [
{
"type": "vcs",
"url": "url": "https://github.com/drymek/PheanstalkBundle"
}
],
"require": {
(...)
"drymek/PheanstalkBundle": "dev-master"
}
and
"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"
}
when i rum composer.phar updateall i get is
- myname/mybundle dev-master requires drymek/pheanstalkbundle dev-master -> no matching package found.
Senad source
share