LaravelPaul Redmond3 min readrelease notesintermediate
Mercure Broadcasting in Laravel 13.32
Summary
Laravel 13.32.0 adds a Mercure broadcast driver (SSE‑based real‑time), new FilesystemAdapter methods copyToDisk()/moveToDisk() for cross‑disk file moves, and enum support in Queue pause/resume APIs. Minor tweaks include default Cloud exit codes, collection return‑type fixes, and Mercure installer integration.
- Mercure driver plugs into Laravel broadcasting, works with FrankenPHP (no URL/secret needed) and supports presence and private‑encrypted channels; a matching Echo client patch is provided.
- `Storage::disk(...)->copyToDisk()` and `moveToDisk()` replace manual stream copying, accept a destination disk name or filesystem instance, and optionally a custom target path.
- Queue pause/resume now accept enum values (e.g., `Queues::notifications`, `Connections::Redis`), aligning with other enum‑based queue configuration APIs.
- Release includes assorted bug‑fixes and type‑hints across the framework (e.g., Str helpers, collection mutators, Redis tagged cache).
The Mercure driver gives Laravel apps a low‑overhead SSE alternative to WebSockets, useful for simple real‑time UIs and for environments like FrankenPHP where a full WebSocket server is overkill. The new filesystem helpers simplify cross‑disk migrations, reducing boilerplate and potential errors. E…
5/10





