Update Magento 2 Extensions Easily

Keeping your extensions up to date ensures you have the latest features, bug fixes, and security patches. This guide covers updating extensions installed via Composer - the standard method for Magento 2.

Before You Update

  1. Backup your database - Always have a recent backup before updates
  2. Check the changelog - Review what's changed in the new version
  3. Test in staging first - Never update production without testing

Update a Specific Extension

To update a single extension to the latest version:

composer update vendor/package-name
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush

Example - Updating Google Shopping:

composer update magmodules/magento2-googleshopping
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush

Update to a Specific Version

If you need a specific version rather than the latest:

composer require vendor/package-name:1.2.3
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush

Update All Extensions

To update all Composer packages at once:

composer update
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush

Tip: This also updates Magento core if a new version is available. For more control, update packages individually.

Finding Your Package Name

Not sure of the package name? Check your composer.json or run:

composer show | grep magmodules

Package names are different from module names:

  • Module name: Magmodules_GoogleShopping (used with bin/magento commands)
  • Package name: magmodules/magento2-googleshopping (used with Composer)

Check Available Updates

See which packages have updates available:

composer outdated

For Magmodules packages specifically:

composer outdated | grep magmodules

Troubleshooting

Version constraint conflicts

If Composer reports conflicts, check your version constraints:

composer why-not vendor/package-name 2.0.0

This shows which packages are blocking the update.

Memory errors

Composer can be memory-intensive. Increase PHP memory:

php -d memory_limit=-1 /usr/local/bin/composer update vendor/package-name

Class not found errors after update

Regenerate the autoloader and compiled classes:

composer dump-autoload
bin/magento setup:di:compile

Static content errors

Force static content deployment with locale:

bin/magento setup:static-content:deploy en_US nl_NL -f

Production Mode Deployment

For production environments, use maintenance mode during updates:

bin/magento maintenance:enable
composer update vendor/package-name
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush
bin/magento maintenance:disable

Need More Help?

Documentation:

Support:

Article Updated:
star star star star star
star star star star star
Alexandru-Manuel Carabus
Magmodules sets the bar for Magento module quality and support—we check their catalog first for client feature requests, and they’re our first choice for licenses.
Google 11 Nov 2025
star star star star star
star star star star star
Matt Austin
Possibly the fastest support response times of any Magento Extension vendor. Great extensions too!
Google 09 Sep 2025
star star star star star
star star star star star
Jan Privé
Dankzij de heldere uitleg en snelle reactie van Magmodules kon mijn vraag, en dus mijn Magento-probleem, binnen enkele uren worden beantwoord. Doeltreffend, zonder moeilijke termen, gewoon zo als het zou moeten zijn.... Bedankt!
Google 05 Sep 2025
star star star star star
star star star star star
Denis Metzler
To evaluate a provider, it is not enough to consider only the product offered, but also its after-sales service, such as support and troubleshooting. Magmodules has been extremely satisfactory at all levels on multiple occasions and sets the bar at the top when comparing the competition.
Google 02 Sep 2025
star star star star star
star star star star star
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google 30 Jul 2025
star star star star star
star star star star star
Patrick Verduijn
Magmodules biedt plugins aan die van hoge kwaliteit zijn tegen een goede prijs, waar dit bedrijf in uitblinkt is de bereidheid om de zeldzame feedback & problemen met de plugins te willen onderzoeken, mee te willen denken in het debuggen van problemen en goede oplossingen toe te passen. In mijn decennium ervaring met Magento & 3th parties is Magmodules absoluut een uniqum binnen de markt.
Google 25 Jul 2025
star star star star star
star star star star star
Erik de Groot
Magemodules heeft hele sterke Magento extensies en een proactieve support. Al jaren heel erg tevreden over jullie service en producten!
Google 18 Jul 2025
star star star star star
star star star star star
René Zeuner
We are using the Mollie Magento extension from Magmodules. It works excellently without flaws. Very fast, competent and friendly support. Thanks!
Google 30 Jun 2025
star star star star star
star star star star star
R. U.
Erg goed team, reageren snel en duidelijk en hebben met toegang tot onze database erg goed geholpen (eigenlijk een gratis customization).
Google 18 Jun 2025
star star star star star
star star star star star
Hugo de Groot
Uitstekende support! Wij gebruiken o.a. de Rich Snippets Suite extensie voor onze Magento 2 webshop (Hyvä) en hadden een specifieke vraag over structured data op PLP-pagina’s. Binnen no-time kregen we een inhoudelijk en duidelijk antwoord. Zeer prettig contact en goed onderbouwde uitleg. Absoluut een betrouwbare partner voor Magento-extensies!
Google 13 Jun 2025