• More and more wordpress plugins use composer dependencies in their source code by including a custom vendor directory.

    This leads to the situation where more and more plugins are incompatible because they use a different version of the same dependency.

    In order to “resolve” this issue, a singular solution is to prefix all composer dependencies with your vendor name.

    The following projects provide solutions to tackle this problem:

    https://github.com/humbug/php-scoper
    https://github.com/TypistTech/imposter

    So please, prefix your composer dependencies.

Viewing 1 replies (of 1 total)
  • Plugin Author westerndeal

    (@westerndeal)

    Hello @mickaelperrin
    Thanks for the suggestion,

    Yes we would add a prefix and define as a namespace, and will update soon, it requires a lots of testing, so we will complete asap.

    Thanks
    Abdullah

Viewing 1 replies (of 1 total)
  • The topic ‘Composer dependencies should be prefixed’ is closed to new replies.