0

Let's assume that I have module A and B. Second(B) one depends on the first(A) one how can I prepare them for Magento Marketplace?

For one module it's easy I just zip it and place it in Marketplace also while doing that Magento has option to add packages? Is this a solution for dependent modules?

1 Answer 1

0

In composer.json, you can write dependency as follows.

...
"require": {
    "tecnickcom/tcpdf":"*"
}
...

Where tecnickcom/tcpdf is another module on which your module depends.

But to know value like tecnickcom/tcpdf, we need to refer installation or user guide of that another module in marketplace. So we may not able to get it for all modules.

1
  • Can this be done by package not extension. I'm asking because at some point I don't want to keep ale functionalities as modules and I don't want to keep them in external repos like github etc.?
    – Marceli Po
    Commented Apr 20, 2017 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.