Skip to content

[docs] Document project composer command and console Composer scripts - #2484

Open
shopware-docs-updater[bot] wants to merge 1 commit into
mainfrom
docs/pr-1435-project-composer-34cb08e395bc5789
Open

[docs] Document project composer command and console Composer scripts#2484
shopware-docs-updater[bot] wants to merge 1 commit into
mainfrom
docs/pr-1435-project-composer-34cb08e395bc5789

Conversation

@shopware-docs-updater

Copy link
Copy Markdown
Contributor

Documents the new user-facing CLI behavior added in shopware/shopware-cli#1435 (by @shyim).

What changed in shopware-cli

  • New shopware-cli project composer command proxies the full Composer CLI through the project's configured executor (local, Docker, or Symfony CLI).
  • shopware-cli project console / swx now also runs custom scripts defined in the project's composer.json by name (e.g. swx phpstan), with extra arguments passed after --.
  • Built-in bin/console commands take precedence over same-named Composer scripts; lifecycle hooks (post-install-cmd, auto-scripts, etc.) are not exposed.
  • swx / swx list now shows a composer section listing available scripts.
  • Tab completion added for swx composer <tab> and shopware-cli project composer <tab>.

Documentation gap

The helper commands reference page documented project console / swx as a plain bin/console shortcut only, with no mention of Composer script execution or the new project composer proxy command.

Files changed

  • products/tools/cli/project-commands/helper-commands.md — added a section under "Console" describing the composer script support and the new project composer command, with usage examples.

Generated by 📝 PR documentation check for #1435 · auto · 26.5 AIC · ⌖ 5.99 AIC · ⊞ 7.6K ·

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Aug 26, 2026

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 5bf75da
Preview: https://developer-documentation-jnw4ummsu-shopware-frontends.vercel.app
Workflow run: #5064

@shyim
Soner (shyim) marked this pull request as ready for review August 27, 2026 13:09
Copilot AI lite review requested due to automatic review settings August 27, 2026 13:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

📢 Developer Announcement Recommendation

Recommendation: ❌ No Announcement Recommended

No developer announcement signals were detected.

This PR does not appear to introduce developer-facing changes that require a community announcement.

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.

2 participants