It's working. But IMO not how it should be done. A library needs to specify all dependecies it needs and not rely on dependencies of dependencies. See discussion https://github.com/fabpot/symfony/commit/d5a5d836b6a088428ba58e8f6cfb2bd1dfe6c7cf#commitcomment-4119819