Skip to content

Conversation

jannes-io
Copy link

@jannes-io jannes-io commented Mar 7, 2025

Ensure people install the correct bundle

When you follow the docs now:

composer require mercure
Could not find package mercure.
Pick one of these or leave empty to abort:
  [0] anik/mercure
  [1] symfony/mercure
  [2] freddie/mercure-x
  [3] bizley/yii2-mercure
  [4] symfony/ux-turbo
 > 1

This can also be considered a security issue, if someone publishes a mercure package that contains malicious code, this could lead to major problems...

Ensure people install the correct bundle
@jannes-io
Copy link
Author

Nevermind.

When you require mercure in a symfony application it installs correctly. When you require it in a symfony bundle, you must require symfony/mercure-bundle.

@jannes-io jannes-io closed this Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants