Skip to content

Installing module dependencies #402

Open

Description

@karneaud

How are 3rd party dependencies for modules handled? Do I install them into the root of the project or Can I install them root of module?

Activity

  1. karneaud commented on Sep 11, 2019

    @karneaud
    Author

    Thus,... are they handled by adding them to the module.json as you would a composer.json file?

  2. pipegris commented on Oct 2, 2019

    @pipegris
    Contributor

    AFIK if you add it to the root project, it would be available in the whole system (given you import it with the appropiate namespace). But if you need a separate composer.json file per module, I used this plugin for that, don't know if someone knows a better alternative.
    https://github.com/wikimedia/composer-merge-plugin
    Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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