Symfony bundles
.Twig
, the Security
bundle, the WebProfiler
, as well as many other third-party bundles can be installed on demand to extend your Symfony application in any way. The Bundle System is Symfony's way of providing an extendable framework with plugin capabilities.Symfony Bundle System
to extend its functionality even more. This allows the Shopware Plugin System to function as a traditional plugin system with features like plugin lifecycles and more.Shopware\Core\Framework\Plugin
class. If you investigate this class, you will see that this class extends Shopware\Core\Framework\Bundle
, which in return extends the Symfony's Bundle
class:Symfony Bundle System
with some functionality to adjust its use for the Shopware ecosystem. For you as plugin developer, the most important addition is the extended plugin lifecycle.install()
postInstall()
update()
postUpdate()
uninstall()
activate()
deactivate()