D
D
Dmitry Kim2016-09-07 07:17:09
Yii
Dmitry Kim, 2016-09-07 07:17:09

Why doesn't composer pull dependency dependencies?

There is a site on YII2, in composer.jsonthe dependencies I specify my repository on the github, and already in my repository in the file I composer.jsonspecify the dependency on someone else's package.
At startup composer update, only my package is pulled up, although, as I understand it, the package on which my package depends should be pulled up automatically? Or am I wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mitaichik, 2016-09-07
@mitaichik

Do you include it as a package? Or just as a third party repository? I'm not sure, but maybe if you're linking as just a 3rd party repository, maybe it doesn't handle composer.json?
And yes, it should.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question