Real-time
FrankenPHP comes with a built-in Mercure hub! Mercure allows to push events in real-time to all the connected devices: they will receive a JavaScript event instantly.
No JS library or SDK required!
To enable the Mercure hub, update the Caddyfile
as described on Mercure’s site.
To push Mercure updates from your code, we recommend the Symfony Mercure Component (you don’t need the Symfony full stack framework to use it).
当前内容版权归 FrankenPHP 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 FrankenPHP .