Latest news

Validating Magento 2 Composer Package To Submit To Magento Marketplace

No comments

Before submitting any extensions to the Magento Marketplace, you will need to know how to validate the composer package accurately. Otherwise, there is a high possibility that your modules will be rejected since it is packaged incorrectly or doesn’t comply with Magento coding standards. In this tutorial, we will show you a detailed instruction of module validation in order to pass the technical review at ease.

To validate your package in Magento Marketplace, implementing the following steps:

Important: In order to zip your package, you must get back to root path of your module, e.g.: /app/code/Vendor Name/Module Name/ and then zip your package. Also, make sure that the composer.json remains in the root path of your zipped package.

  • Step 3: Run the below command:

$ <path_to_php> validate_m2_package.php -d

where <path_to_php> is the path to php compiler and should be name of your module zipped file.

magento markeplace module validation


-d  – Showing debugs messages. (Optional)

Once your package passes the validation, it will appear the success message. Besides, the validation tool will show both errors and warnings if any, but you just need to concern about the errors. If having surplus time, you can fix warnings but we think that it’s unnecessary. After tackling all errors, you must resubmit the package to validate it again.

The next round that your module must go through is QA Review (using Magento Extension Quality Program tool).

Check our extensions in Magento Marketplace and Tigren Store.

See More:

[Fix It Series] Magento Error: Missing all sale tables but sale orders are recorded

What Is The Role Of Progressive Web Application In Improving Your SEO?

How To Set Up Currencies In Magento 2? (10 minutes)

How To Change Add To Cart Button Text and Relink In Magento?

[Ultimate Guide] Converting Your Site To Google Progressive Web Apps (Part 1)

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
April LeeValidating Magento 2 Composer Package To Submit To Magento Marketplace

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *