Install and Update via Magento Marketplace Composer

 

We recommend you install the extension via composer. It is easy to install, update and maintain.

Install via Composer

  1. Log in to the Magento server (via SSH) as a user who has permission to write to the Magento file system

  2. Navigate to the root Magento folder and execute the following command to update your composer.json file:

    composer require [composer_name]

    Replace [composer_name] with the Composer Name indicated at your Magento Marketplace account. Please check this guide to find the appropriate composer name of an extension/module from Magento Marketplace.

    When prompted, enter your Magento authentication keys. Your public key is your Username; your private key is your Password. To generate your Magento public and private keys please see here

  3. Enable the extension, update the database, deploy content, and clean cache:

    php bin/magento module:enable Ulmod_ComponentName
    php bin/magento setup:upgrade

    You can find the ComponentName in the extension’s registration.php file.

    php bin/magento setup:static-content:deploy
    • The bin/magento setup:static-content:deploy command deploy the default locale which is en_US, please add your additional locale there if you have more locales. eg. if you have additional en_GB nl_NL fr_FR locales, include them in the deploy command as follow: bin/magento setup:static-content:deploy en_US en_GB nl_NL fr_FR

    Empty the generated folder

    php bin/magento cache:clean

Update via Composer

  1. Log in to the Magento server (via SSH) as a user who has permission to write to the Magento file system

  2. Navigate to the root Magento folder.

    To update a single extension, run the following command:

    composer update [composer_name]

    Replace [composer_name] with the Composer Name indicated at your Magento Marketplace account.

    To update all extensions, run the following command:

    composer update
  3. Update the database, deploy content, and clean cache:

    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy
    php bin/magento cache:clean

Delete via Composer

  1. Log in to the Magento server (via SSH) as a user who has permission to write to the Magento file system

  2. Navigate to the root Magento folder and run the following command:

    composer remove [composer_name]

    Replace [composer_name] with the Composer Name indicated at your Magento Marketplace account.