Understanding Laravel Broadcasting
summary
Creates a working custom broadcast driver that POSTs event payloads as webhooks (tested with httpdump), explains Laravel’s built‑in drivers (pusher, ably, redis, log, null) and how events implement ShouldBroadcast and use a broadcastWhen guard, demos a confetti example with 50 particles (thousands crash the browser), implements an export job that takes 10 seconds and streams progress via broadcasts, wires front end with Laravel Echo and shows private and presence channels plus authentication via routes/channels.php.
AI-written summary · about
