Skip to content

Instantly share code, notes, and snippets.

@shyim

shyim/README.md Secret

Last active October 2, 2025 12:54
Show Gist options
  • Select an option

  • Save shyim/d50c8fe75223ddf62ba20302f5cecaa8 to your computer and use it in GitHub Desktop.

Select an option

Save shyim/d50c8fe75223ddf62ba20302f5cecaa8 to your computer and use it in GitHub Desktop.
Handout Shopware Updates

Handout Shopware Updates

Slides: https://speakerdeck.com/shyim/the-shopware-update-playbook

Before Upgrade

  • Check that the server requirements are met by current and new Shopware version
  • Fix already existing deprecations in var/log
  • Fix reported errors by shopware-cli project validate
  • Add Twig Block Versioning. Blog Post
  • Check that all installed extensions are really in use
  • Check that all installed extensions are compatible with the new Shopware version (shopware-cli project upgrade-check)
  • Migrate installed extensions to Composer. Docs Docs
  • Migrate project to Symfony flex Docs

General Advices

  • Use automated fixers like Rector, ESLint to fix common deprecations Docs
  • Use AI to upgrade Twig templates Docs
  • Take advantage of AI Agents like GitHub Copilot, Cursor, Claude to upgrade common deprecations in various frameworks like Bootstrap,

Code Advices

  • For Project customizations, prefer a single Symfony/Shopware Bundle over creating multiple plugins
  • Keep the extension simple, just because Shopware is doing something in a way, doesn't mean you should do it the same way.
  • For customizations, prefer to use configuration/events over decorations. Events are more stable and easier to maintain in future and can reduce the risk of breaking changes.
  • The effort is the same if you update every two years or more frequently. The changes you have to do are the same, but the effort is much higher if you wait longer. So better update every 6 months.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment