modules.zendframework.com icon indicating copy to clipboard operation
modules.zendframework.com copied to clipboard

Feature request: Tag modules as plugins or extensions of other modules

Open EvanDotPro opened this issue 12 years ago • 1 comments

Perhaps even a simple 'related modules' feature would be adequate.

(This would be low priority -- just putting it here as a reminder.)

EvanDotPro avatar Nov 05 '12 17:11 EvanDotPro

Can't we just use the require and suggest sections of composer.json?

I think:

  1. Modules should register related/optional/child modules/plugins in the suggest section of composer.json.
  2. Plugin/extension/child modules should probably list parent modules in the require section of composer.json.

This would make it easier for developers to publish modules with dependencies (information about related modules), without having to set related modules on the website, relations will be identified by analyzing composer.json files of dependencies listed in sections require/suggest of the main composer.json. This could work, but has one requirement: we need to be able to identify zf-modules among other dependencies listed in require/suggest.

And at this point #159 may become useful. Maybe we could identify zf-modules by a keyword or by the type in composer.json, as described in #159.

websafe avatar Nov 11 '13 09:11 websafe