All technologies

Need assistance? Talk to the expert

MageCloud Customers

Discover how ecommerce businesses worldwide use MageCloud to power their success.

How to Submit Magento 2 Extension to The Marketplace

So, you developed Magento 2 extension. When submitting a new Magento 2 extension to Magento Marketplace for the first time, the submission process doesn’t seem clear enough. Therefore, we have decided to write this post to share our experience of submitting new products to Magento Marketplace with you.


So let’s get started.



Magento 2 Module Overview

A Magento 2 module is a logical group – that is, a directory containing blocks, controllers, helpers, models – that are related to a specific business feature. In keeping with Magento’s commitment to optimal modularity, a module encapsulates one feature and has minimal dependencies on other modules.


Modules and Themes are the units of customization in Magento. Modules provide business features, with supporting logic, while themes strongly influence user experience and storefront appearance. Both components have a life cycle that allows them to be installed, deleted, and disabled. From the perspective of both merchants and extension developers, modules are the central unit of the Magento organization. 


Modules can be installed with Composer allowing their version management. All modules installed in such a way are placed in the vendor/ folder and have the next base structure  vendor/<vendor>/<type>-<module-name>. In this case  <type>  can be:

  • module –  Magento module
  • theme –  admin or frontend themes
  • language – language packs


In a case when you have a very specific functionality or customization which is related to a specific project and there is no need to share it with other projects it should be created in the  app/code/<vendor>/<type>-<module-name>  directory and the required directories within it.

Let’s focus on how to prepare your module for submission to the Magento Marketplace.


Extension Preparation

Magento 2 Extension created. You, as a developer, want to get started on Magento Marketplace and list your extension, but you’re a little confused about where to start? This article can help you with this and you’ll be selling your extensions on Magento Marketplace in no time.


Before you begin the Magento 2 extension submission process, you need to have the following items ready:



Technical Items:



A few technical important things that you, as a developer, must always to keep in mind, especially if you want to submit your extension to the Marketplace:

  • keep your Vendor Name the same as the Vendor Name of your Marketplace account, Your Vendor Name field must be lowercase and without spaces. Eg. If your company name is My Company Name, your vendor name is mycompanyname;
  • must have composer.json in the root folder of extension. Eg. vendor/vendor_name/module_name/composer.json with correct configurations and dependencies;
  • must have registration.php in the root folder of extension. Eg. vendor/vendor_name/module_name/registration.php;
  • don’t use $_REQUEST, $_POST, $_GET, $_FILE  directly;
  • don’t use die() or exit() in your code;
  • remove unnecessary code and comments;
  • use spaces for indentation;
  • check for code duplication, use ClassPreferences and/or Magento 2’s  plugin structure to avoid duplicating code;
  • don’t use methods and classes marked as deprecated;
  • add PHP DockBlock for your classes;
  • use proper DockBlock for each of your functions with parameters and return types;
  • use the Service Contract approach for your module development.
  • don’t use cacheable=”false” argument, related to block(s) in catalog product/category view layout handles (extension prevents product and category pages from being cached by Varnish);
  • check extension functionality with DI compilation:
  • php bin/magento setup:di:compile
  • check compatibility with production mode enabled:
  • php bin/magento deploy:mode:set production
  • test with Cache enabled and disabled;
  • utilize code sniff tools (Extension Quality Program) as well to ensure you meet coding standards; 
  • do complete testing of your code;
  • add a proper description for your extension functionality;
  • check and confirm you do not have any broken link in your document or description content;




Marketing Items:



Magento 2 Extension Hosting

Hosting on GitHub or Packagist

Assume that you already have followed such standards and your extension
is ready for submission. Create a package of your extension by performing a zip operation on the directory with your extension (excluding unnecessary directories).


For example:   zip -r package-path/ -x ‘package-path/.git/*’


Use alphanumeric characters for the package filename with dashes to separate words. Do not use whitespaces.

Magento can retrieve your extension package from any valid GitHub URL (third party repositories are supported). Use alphanumeric characters for the package filename with dashes to separate words. Do not use whitespace.


Navigate to your component directory, with the composer.json file in the root, and make it a new Git repository. See the GitHub documentation for details. When you have committed and pushed your component to your GitHub repository, you can either use a Composer to refer to it directly or use the following steps to refer to the package through Packagist.


Register an account at Packagist:


Click the Submit Package button and paste your GitHub repository link. Packagist automatically gathers the information from the component’s
composer.json file and link it to the GitHub repository, allowing you to reference the package as vendor/module without any additional repository information because this is required solely using GitHub.




Please, use the reference to the configured composer auto-updateGitHub Webhooks.


Hosting on a private repository

If you use the Setup Wizard, you must use the Magento Marketplace repository. A private repository can be used for development or private code but installation must be done with a command-line interface (you can install a package that specifies a private repository only with command-line installation).

  • set up your own Composer packaging repository using a system such as Satis or Private Packagist;
  • create the package in a way similar to the described above.
  • submit/register the package on your own repository. For example, it can be hosted as a reference to a code repository or submitted as a zip-archive.
  • to use the private packaging repository in a project, add the following to your composer.json file:



All packages on the private repository can now be referenced within the  require field. Refer to the official documentation for more details on how to configure your project to use Private Packagist.



Marketplace Submission Process

After completing development, testing, and creating a new extension entry, you can submit your extension for Technical and Marketing review. Keep in mind that if you have Shared Packages – they must pass technical review before they can be referenced by your extension. The extension enters a queue when submitted. Magento will review your extension code and submitted information according to the queue, sending feedback and confirmation by email. Track the status and progress of your extension submission through your Marketplace account. The Magento Extension Quality Program (EQP) verifies that all Marketplace extensions meet Magento quality standards and best practices.


The extension submission process requires you to do the following:

  • review and agree to the Terms and Conditions of Magento Marketplace;
  • pass both technical and marketing review;
  • provide information about your business to ensure that transactions and payments are processed efficiently. This information includes W-8 / W-9 forms, as required by law. For more information, see the technical and marketing review guidelines.


You can submit your extension for Marketing Review as soon as your marketing content is ready for review.


You must complete both the technical and marketing review to fully list your extension on the Magento Marketplace. 



Create an account in Magento Developer Portal and fill Profile Information:


Once the account has been successfully created, you will be able to add you prepared extension:




The Magento also provides you with clear information about how the submission process will be executed:





The following steps must be taken to add your module:



1. Create New Extension



The extension submission process requires you to do the following:

  • Extension TitleThe name that indicates what your extension does;
  • Short Description – The short description of your extension functionality in less than 500 characters;
  • Magento Platform Version – M2 by default;


Does this extension enable integration with a non-Magento service? – If your extension uses any third-party integration or service, you need to specify this.



2. Submit a New Version



  • Marketplace Version Number – Specify your extension version.
  • Magento Version Compatibility – Notice regarding Magento Version with which your extension is compatible.
  • Requested Launch Date – You can request a custom launch date (if required) or go with “On Approval”.




3. Technical Submission


  • Extension Code PackageUpload a package;
  • Magento Version CompatibilitySelect a compatibility version;
  • Choose a License Type – Select a license type or enter a custom;
  • User Guide, Reference Manual or Installation Guide – attach customer-facing documentation for your extension;
  • Shared Package (Optional) – Select shared package (if any);
  • Release Notes – The extension release note.



4. Marketing Submission



a. Extension Description:



  • Extension Title – The name that indicates what your extension does;
  • Short Description – The short description of your extension functionality in less than 500 characters;
  • Extension Category – The category to which your extension belongs. When customers search Marketplace, under which category should your extension appear.



b. Images & Videos:


  • Extension Icon – Add extension icon image;
  • Extension Images – Add at least 2 extension images;
  • Video Links – Include video URL (currently only YouTube is supported);



c. Compatibility:



d. Pricing:



e. Additional Details:


  • Build Stability – Set your extension stability as stable or beta;
  • Other Options – Make a selection of options that relates to your extension.



When Magento 2 module development finished and you uploaded your code, it will go through automated install tests. Once those are passed, it will move to manual QA. This is where your developer will likely be involved and assisting with any errors if Magento QA team may find. When the review is complete, a link to the resulting report is provided for the extension that was submitted for review. Test results will also be communicated via email. 

Once you have passed all these steps and your extension gets approved,  it will get live and you will find it on the Marketplace.

The approval process can take from 24 hours up to seven days. If your extension is approved, you get a success email.


That’s all. Now, your task is just waiting for your sales number to grow.


If your extension is failed in any of this review, Magento will send you an email as well, with a list of errors that you have to resolve and improvements you must make.


Thanks for reading and Good luck!




If you need a hand maintaining and optimizing your Magento website, please contact us to start discussing your requirements.


Please, take care of yourself! ?

Have we piqued your interest?

Let us prove our skills and provide you with a free video review of your eCommerce site. Schedule a meeting with our team.
Cities we operate in