symfony/mercure
Symfony Mercure is a real-time push communication hub implementing the Mercure protocol. Publish updates from your app and let browsers and services subscribe via Server-Sent Events, with JWT-based authorization, private topics, and scalable deployment options.
mercure_publish() functionFull Changelog: https://github.com/symfony/mercure/compare/v0.6.4...v0.6.5
symfony/deprecation-contracts v4lcobucci/jwt 5.0Content-Type HTTP header to application/x-www-form-urlencoded when sending an update to the hubSymfony\Component\Mercure\Messenger\UpdateHandler now returns the ID of the published updatenull as $subscribe and $publish parameters in Symfony\Component\Mercure\Jwt\TokenFactoryInterfaceSymfony\Component\Mercure\Authorization::__construct() to set the SameSite cookie attributemercure JWT claim when using Symfony\Component\Mercure\Token\LcobucciFactorypassphrase argument to Symfony\Component\Mercure\Token\LcobucciFactory allowing the use of encrypted keyslastEventId option to the mercure() Twig function to set the Last-Event-ID query parameterSymfony\Component\Mercure\Authorization::createCookie()Symfony\Component\Mercure\Token\LcobucciFactory that results in a runtime error when using "ecdsa" algorithms, alongside "lcobucci/jwt:^4.0"mercure() Twig function to generate URLs of the hubs and set the authorization cookiesAuthorization::setCookie() to ease setting authorization cookiesAuthorization::clearCookie() to remove the mercureAuthorization cookie from the browserAuthorization::createCookie() to allow subdomainsAuthorization classMockHub::__construct() signatureSymfony\Component\Mercure\Jwt\TokenProviderInterfaceSymfony\Component\Mercure\Jwt\TokenFactoryInterfaceSymfony\Component\Mercure\Jwt\StaticTokenProviderSymfony\Component\Mercure\Jwt\CallabkeTokenProviderSymfony\Component\Mercure\Jwt\LcobucciTokenFactorySymfony\Component\Mercure\Jwt\FactoryTokenProviderSymfony\Component\Mercure\Messenger\UpdateHandlerSymfony\Component\Mercure\HubSymfony\Component\Mercure\HubInterfaceSymfony\Component\Mercure\HubRegistrySymfony\Component\Mercure\DiscoverySymfony\Component\Mercure\AuthorizationJwt\StaticJwtProvider, use Jwt\StaticTokenProvider instead.PublisherInterface interface in favor of HubInterface.Publisher class in favor of Hub.Debug\TraceablePublisher class in favor of Debug\TraceableHub.TraceablePublisher to collect debug informationPublisherInterfaceretry parameterInitial release
How can I help you explore Laravel packages today?