Skip to content

custom module dependency

Nicolas Widart edited this page Jul 20, 2016 · 1 revision

How do I add a dependency on my custom module ?

If you don't plan on re-using that module

Only add your dependency in the global composer.json file.

If you plan on re-using that module in other project(s)

In that case you need to add the dependency in both the composer.json file from the module, as well as the global composer.json file.

Clone this wiki locally