I have developed an extension for Magento Marketplace.

For this, I had installed code sniffer Magento coding standard.

But Marketplace checks All the Standards and Compatibility of Extension with Multiple Magento version like 2.0., 2.1., 2.2. and PHP versions also like 5.6., 7.0., 7.1., 7.2.*, etc.

So I want to configure my computer for checking my extension compatibility and First, I want to test in the local environment and after that submit to Marketplace.

For this what I need to do?

2 Answers 2


Docker is the best solution for this kind of issue according to me.

if you are working multiple versions of the same system so create multiple Docker images of Magento Hope this helps thanks.


You can use a codesniff ruleset to scan your code


Use it a bit like this



In response to your comment I dev on something based on this.


As the other answer suggests docker is good for this. You can switch php version with a docker compose config change.

  • I have already set coding standard in my machine I am only want to set multiple php version for magento so if you have any solution about this then provide me thank u 😀 Jun 7, 2019 at 11:58
  • Updated my answer Jun 7, 2019 at 12:27

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.