I want to use a third-party library in the project, I created composer.json , I registered a dependency. In turn, the library has its own composer.json , with its dependencies. After the composer install command, only the library specified in the main composer.json pulled, the nested is ignored, there are no errors. How to make composer pull dependencies recursively?
composer.json :
{ "require": { "php": ">=5.3.0", "chobie/jira-api-restclient": "dev-master" }, "repositories": [ { "type": "git", "url": "https://github.com/chobie/jira-api-restclient" } ] }
composer.json- Marsel Arduanovcomposer.json, librarycomposer.jsoncan be viewed in the repository. I solved the problem this way - I added the contents from the librarycomposer.jsonto my main dependency, loaded it up (naturally), but I think this is a bad decision. - Dmitry