SwissUpLabs Logo

Marketplace devdocs

Marketplace is an extensible module that allows to:

  1. Register update channel. You may want to do this to drastically simplify installation of your packages:

    Before After
    composer config repositories.myrepo composer https://example.com/packages/
    composer config -a -g http-basic.example.com "username" "password"
    bin/magento marketplace:channel:enable myrepo
    bin/magento maintenance:enable
    composer require my/package
    bin/magento setup:upgrade --safe-mode=1
    rm -rf var/view_preprocessed pub/static/frontend/ pub/static/adminhtml/ generated/code/ generated/metadata
    bin/magento setup:static-content:deploy en_US nl_NL
    bin/magento setup:di:compile
    bin/magento maintenance:disable
    bin/magento marketplace:package:require my/package
  2. Create one-click installer for any kind of magento package. You may want to use it to make your awesome module a little bit easier to install.

    Marketplace allows to declare installation instructions inside etc/marketplace/installer.xml file, and they will apply automatically when client run the installation command:

    bin/magento marketplace:package:install my/package
    
Edit this Page