webpatser/fledge-pulse is Laravel Pulse made safe for fibers. It targets applications running on Fledge, where Livewire cards render in parallel fibers and Redis may be the Fledge client (REDIS_CLIENT=fledge). On stock Pulse that combination gives an empty dashboard, "stream is in use by another fiber" errors and, quite possibly, silently dropped recordings.
The package is derived from Laravel Pulse v1.8.1 and released under the MIT license. The original license and copyright notice are kept in the repository.
What it keeps
Configuration, recorders and cards work exactly like Laravel Pulse, so the Laravel Pulse docs cover dashboard and recorder usage. These pages cover only what Fledge adds.
- The
Laravel\Pulsenamespace is kept andcomposer.jsonhas"replace": {"laravel/pulse": "self.version"}, so packages that depend onlaravel/pulsekeep resolving. - The fiber code is an overlay under
src/Fiber/(Laravel\Pulse\Fiber\...). An auto-discoveredFledgePulseServiceProviderrebinds the pieces that need it. - Everything else from upstream is untouched, which keeps syncing new Pulse releases cheap.
What it adds
- A storage driver registry, so
pulse.storage.driveris honoured. - A fiber-safe database storage that works on a shared PDO.
- A fiber-scoped
Pulse::ignore(). - A Redis ingest for the Fledge Redis client.
pulse:workandpulse:checkthat wait without blocking the event loop.- A
rememberManyhelper for concurrent card queries.
See What is different for the details.
Requirements
- PHP 8.6
webpatser/fledge-frameworkwebpatser/fledge-fiber- Livewire 4
This package supports only the latest stable PHP release. When a new PHP version is released, the next release of this package requires it and support for the previous PHP version ends.
Versioning
Versions follow Fledge's four-segment scheme: v1.8.1.0 is Fledge patch 0 on top of Pulse 1.8.1. The first three segments always match upstream; only the fourth moves for Fledge-only changes.
Elasticsearch storage
An Elasticsearch storage driver is available as a separate package, webpatser/fledge-pulse-elasticsearch. It is documented under the Elasticsearch group in the sidebar.