These are chat archives for composer/composer
Hi. I'm developing a modular application on Composer and have a question regarding dependency inclusions during development.
Currently I have the packages pulled from a VCS.
I have a core module which requires all other modules.
When developing the different modules, I would like to pull in the core module as it implements the user logic.
Though the problem is that when I require-dev the core module, then it tries to automatically install it's dependencies for the modules as well, causing a recursion: e.g
help-module > core > help-module...
Does Composer offer any possibilities to pull in a dev dependency without installing the sub-dependencies?
I took laravel/framework as a basis for mine. which yeah basically is the same structure that Symfony follows.
I do see that laravel makes use of the
replace keyword for replacing individual subpackages, but based on the docs I'm not 100% sure if this is a necessary thing for me as well.
Though yes a difference is that laravel supplies a separate laravel/app package which requires the laravel/framework (core) package.
So maybe I will get away by using