Real-time messaging with Mercure SSE in PHP
php
dev.to
Ahnii! Mercure lets you push real-time updates to browsers using server-sent events (SSE), without WebSocket complexity. This post covers how Minoo, a community platform built on the Waaseyaa framework, uses Mercure for real-time messaging with threads, user blocking, and email notification digests. How the messaging layers fit together The messaging system has four layers: Entities — Thread, Participant, and Message stored in SQLite Controller — handles HTTP requests for sendin