symfony/mercure-bundle
Symfony MercureBundle
v0.5.0
16M downloads/mo
#900 most downloaded on Packagist
symfony/mercure-bundle
What this package is like to depend on
Last release 12 days ago
11 Aug 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 24 of 25 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
25 releases · first in 2018
5 releases in the last 12 months
see the full history below
Release timeline
25 releases · Oct 2018 to Aug 2026
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 25-
v0.5.011 Aug 2026Release notes
Open source →- Add support for the Mercure protocol 1.0, alongside the existing 0.x protocol: new
protocol_version(0.x, default, or1.0) andcookie_nameper-hub options - Add
jwt.jwks_uriandjwt.key_id, fetching the signing key from a JSON Web Key Set endpoint viaWebTokenFactoryinstead ofjwt.secret(requiresweb-token/jwt-library, Mercure 1.0 hubs only) - Add
jwt.claims(e.g.iss/sub/client_id), required by RFC 9068 when usingjwt.secret/jwt.jwks_urion aprotocol_version: 1.0hub;auddefaults to the hub's own URL when not set. Missing required claims fail at container compile time, and a0.xhub withoutjwt.claimskeeps minting byte-identical legacy tokens (noDefaultClaimsTokenFactorywrapping, no automaticaud) - Require
symfony/mercure^0.8 - Require PHP 8.2, up from 8.1, following
symfony/mercure
Release notes
Open source →- Add support for the Mercure protocol 1.0, alongside the existing 0.x protocol: new
protocol_version(0.x, default, or1.0) andcookie_nameper-hub options - The
jwt.secretconvenience option now usesLcobucciFactory's Mercure protocol 1.0 support on aprotocol_version: 1.0hub - Add
jwt.jwks_uriandjwt.key_id, fetching the signing key from a JSON Web Key Set endpoint viaWebTokenFactoryinstead ofjwt.secret(requiresweb-token/jwt-library, Mercure 1.0 hubs only) jwt.algorithmno longer has a single default, as the two token factories name algorithms differently: it defaults tohmac.sha256withjwt.secret(LcobucciFactory) and to the JWA nameHS256withjwt.jwks_uri(WebTokenFactory, which also acceptsPS256/PS384/PS512andEdDSA)- Add
jwt.claims(e.g.iss/sub/client_id), required by RFC 9068 when usingjwt.secret/jwt.jwks_urion aprotocol_version: 1.0hub;auddefaults to the hub's own URL when not set. Missing required claims fail at container compile time, and a0.xhub withoutjwt.claimskeeps minting byte-identical legacy tokens (noDefaultClaimsTokenFactorywrapping, no automaticaud) - Require
symfony/mercure^0.8 - Follow
symfony/mercure'sHub/FrankenPhpHubconstructor parameter reorder ($cookieNamebefore$protocolVersion) and itsGrant-basedTokenFactoryInterface::create();jwt.subscribe/jwt.publishare now wired in as onepublishand onesubscribeGrant, always both present so the legacy claim's shape is unchanged for hubs configuring neither - Require PHP 8.2, up from 8.1, following
symfony/mercure
- Add support for the Mercure protocol 1.0, alongside the existing 0.x protocol: new
-
v0.4.311 Aug 2026Release notes
Open source →- Extend the
Extensionclass from theDependencyInjectioncomponent - Bound the
symfony/mercuredependency to supported versions - Fix
branch-alias
Release notes
Open source →- Extend the
Extensionclass from theDependencyInjectioncomponent - Bound the
symfony/mercuredependency to supported versions - Fix
branch-alias
- Extend the
-
v0.4.225 Nov 2025 -
v0.4.121 Nov 2025 -
v0.4.021 Nov 2025Release notes
Open source →- Add support for FrankenPHP's
mercure_publish()function - Allow Symfony 8
- Compatibility with PHP 8.5
- Pass Twig as dependency of
TurboStreamListenRenderer - Fix cache warmup without JWT secrets
- Drop support for unmaintained PHP and Symfony versions
Release notes
Open source →- Add support for FrankenPHP's
mercure_publish()function - Allow Symfony 8
- Compatibility with PHP 8.5
- Pass Twig as a dependency of
TurboStreamListenRenderer - Fix cache warmup without JWT secrets
- Drop support for unmaintained PHP and Symfony versions
- Add support for FrankenPHP's
-
v0.3.931 May 2024Release notes
Open source →- Explicitly mark method parameters as nullable
- Adapt icon to profiler redesign
Release notes
Open source →- Explicitly mark method parameters as nullable
- Adapt icon to profiler redesign
-
v0.3.803 Dec 2023 -
v0.3.723 May 2023 -
v0.3.606 Mar 2023 -
v0.3.512 Jun 2022 -
v0.3.416 Dec 2021Release notes
Open source →- Add support for JWT signers requiring a passphrase
- Throw an exception if neither the
jwtnor thejwt_providerconfiguration key is defined.
-
v0.3.312 Oct 2021Release notes
Open source →- Deprecate
enable_profilerconfiguration - Add support for Mercure Component 0.6
- Compatibility with Symfony 6.0
- Deprecate
-
v0.3.204 Apr 2021 -
v0.3.103 Apr 2021Release notes
Open source →- Add a configuration option to set a default expiration for the JWT and the cookie when using the
Authorizationclass
- Add a configuration option to set a default expiration for the JWT and the cookie when using the
-
v0.3.030 Mar 2021Release notes
Open source →- Upgrade to
symfony/mercure0.5 - Add integration with
symfony/ux-turbo - Register autowiring aliases for hubs
- Add
mercure.publishertag on publisher services
- Upgrade to
-
v0.2.626 Nov 2020Release notes
Open source →- Expose privateness of published messages in profiler panel
- Compatibility with PHP 8
-
v0.2.530 Jun 2020 -
v0.2.427 May 2020 -
0.2.324 Nov 2019 -
v0.2.223 Nov 2019 -
v0.2.109 Nov 2019 -
v0.2.009 Nov 2019Release notes
Open source →- Fix compatibility with Symfony 5 beta
- Add a profiler panel
- Autowire
Symfony\Component\Mercure\PublisherInterfaceinstances (usingSymfony\Component\Mercure\Publisherfor autowiring is deprecated)
-
v0.1.224 Jun 2019 -
v0.1.104 Mar 2019 -
v0.1.024 Oct 2018Nothing published for this version