-- Саша Стаменковић <[email protected]> wrote (on Tuesday, 31 July 2012, 10:40 PM +0200): > I would like to add dependency to zendframework/zend-db package, so I added > it to my composer.json: > > "repositories": [ > { > "type": "composer", > "url": "http://packages.zendframework.com/" > } > ], > "require": { > "php": ">=5.3.2", > > "symfony/class-loader": "dev-master", > "symfony/console": "dev-master", > "symfony/filesystem": "dev-master", > "symfony/finder": "dev-master", > "symfony/locale": "dev-master", > "symfony/yaml": "dev-master", > "doctrine/dbal": "dev-master", > "zendframework/zend-db": "dev-master" > } > > The problem is that composer instals entire zendframework/zendframework > package. > > Any idea why?
Dev packages go to the zf2 github repo, and since composer/packagist don't have a way to do packages from subtrees of a module yet, that means you get the full framework. Release packages, however, go to packages.zendframework.com, which downloads individual zips for each component. So, either pin to a 2.0.0* version, or get the entire framework. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
