Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[Bundles] Better explain how to develop reusable bundles locally#21554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
bundles.rst Outdated
| ..code-block::terminal | ||
| $ composer update acme/blog-bundle |
alexislefebvreNov 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
We see “install the bundle as usual” thencomposer update acme/blog-bundle instead ofcomposer require that I’m used to. Is it the recommended way? Symfony’s documentation showscomposer require …:https://symfony.com/packages/CssSelector#installation
I suggest to usecomposer require becausecomposer update has deprecated the--dev option which is useful for bundles that help with tests (e.g. loading fixtures).
Or, ifupdate is required in this context, remove “as usual” from the previous sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You are right Alexis! I've just fixed this. Thanks!
Fixes#20976.