Add missing plugin activation steps to Composer installation instructions #369
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The installation documentation was incomplete for Composer-based installations. The README only showed:
However, in Shopware 6, installing a plugin via Composer requires additional steps to register and activate the plugin. Without these steps, the bundle is not added to the Shopware application and users encounter the issue described where "the bundle is not activated for a vanilla Shopware 6.7 installation."
This PR adds the missing commands to both Packagist and Store installation sections:
The
plugin:refreshcommand updates Shopware's plugin registry to recognize the newly installed plugin, andplugin:install --activateinstalls and activates it in one step.These commands are already used elsewhere in the codebase (see
SwagSecurityChecker.php) and follow standard Shopware 6 plugin installation practices.Fixes #368.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.