Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 23, 2025

The installation documentation was incomplete for Composer-based installations. The README only showed:

composer require frosh/tools

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:

composer require frosh/tools
bin/console plugin:refresh
bin/console plugin:install --activate FroshTools

The plugin:refresh command updates Shopware's plugin registry to recognize the newly installed plugin, and plugin:install --activate installs 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.

Copy link
Contributor Author

Copilot AI commented Sep 23, 2025

@shyim 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI changed the title [WIP] Installation via Composer does not add to bundles.php Add missing plugin activation steps to Composer installation instructions Sep 23, 2025
Copilot AI requested a review from shyim September 23, 2025 06:57
@shyim shyim marked this pull request as ready for review September 23, 2025 07:13
@shyim shyim merged commit 2ddc3ef into main Sep 23, 2025
1 check passed
@shyim shyim deleted the copilot/fix-368 branch September 23, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installation via Composer does not add to bundles.php

2 participants