Skip to content

Peer Dependencies? #5718

@i-am-tom

Description

@i-am-tom

I've noticed that Composer doesn't have support for peer dependencies, and have just started on a chunk of work that could really benefit from them.

In general, the use case would be for "plugins" to larger packages (e.g. frameworks), where the plugin (A) has only been tested for a particular version of the larger package (B). A could then specify this version constraint for B that could be checked upon install.

Has this already been discussed (I couldn't find anything with a quick search)? Either way, if I put together a PR, is this something that would be of interest?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions