Update a Magento 2 Module using an Artifact Repository

This is an article from the Google Shopping extension for Magento 2. We've tried our best in the preparation of this help article. If you do not find the answer you were looking for, you can always send us a message through this form.

Step 1: Download and Upload the ZIP File

Download the module ZIP file from your customer account and upload it to
composer/artifact (as a ZIP file).




Step 2: Configure Composer

Edit your Magento project's composer.json file and add the artifact repository:

{
  "repositories": {
    "extension-artifact": {
      "type": "path",
      "url": "composer/artifact/*"
    }
  }
}



Step 3: Install the Module

Run the following commands to install the module via Composer:

composer update magmodules/m2-googleshopping--no-update



Step 4: Enable the Module

Activate the module and update Magento:

php bin/magento module:enable Magmodules_GoogleShopping
php bin/magento setup:upgrade
php bin/magento cache:flush



Step 5: Deploy in Production Mode (Optional)

If you are in production mode, compile dependencies and deploy static content:

php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f



Conclusion

You have now successfully installed the Magento 2 module using an artifact repository.

Direct Help

At Magmodules, our support team is here to help you every step of the way. If you can't find a solution in our Knowledgebase, simply fill in the form below. We are in the Central European Timezone, and all your details are securely sent to us.
The more information you provide, the better we can assist you. Trust us to guide you through any challenge and ensure a seamless experience with our products and services.
Support by e-mail contact@magmodules.eu