This is only a generic guide. For specific details, please refer to the documentation of your Magento extension.


Installation from Magento Marketplace

The installation with Composer for extensions from Magento Marketplace is done like this:

  • "Buy" the extension on the Magento Marketplace (possibly for 0 EUR).
  • Log in to your server via SSH.
  • Navigate into the Magento base directory.
  • Execute these commands (may vary depending on the extension):
composer require <vendor>/<extension>
php bin/magento module:enable <extension> --clear-static-content
php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy <list_of_locales>


The above procedure applies to an installation using the default repository repo.magento.com. The extension must therefore be "purchased" on Magento Marketplace first, otherwise it can't be downloaded from the repository.


During installation, Composer might ask for a user and password. You must use the public and private key of the Magento Marketplace user which was used to purchase the extension.


Installation from ZIP package (artifact)

If you want to install the extension from a ZIP package, execute this command before all commands shown above:

composer config repositories.<extension> artifact /path/to/folder/


Note: The path must point to the folder which contains the ZIP, not to the ZIP file itself. Leave out (omit) the ZIP filename at the end!


Then execute the other commands shown above, same as for installation from Magento Marketplace.


Hints

The values for "vendor" and "extension" depend on the actual Magento extension. Please refer to the Readme file or PDF documentation for details.


The "list of locales" depends on the languages in the shop. Example: "en_US en_GB fr_FR de_DE it_IT" etc.