-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
@h3ravel/broadcastenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededmediumonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source weekreal-time
Description
Background: Real-time features need an abstracted broadcast layer supporting multiple drivers (Pusher, Redis, WebSocket, log), plus channel authorization.
Tasks:
- Create a
@h3ravel/broadcastpackage in the framework/packages directory. - Define
BroadcastManagerand driver contract. - Implement at least two drivers (e.g.,
logandredisor a simple in-process WS). - Implement channel auth middleware for private/guarded channels.
- Provide event interface (shouldBroadcast, broadcastOn channels).
- Add integration tests for broadcasting events and auth checks.
- Document configuration and examples.
Acceptance criteria:
- App can broadcast events via chosen driver.
- Private channel authorization flow works (authenticated user allowed/denied).
- Interface mirrors laravel as much as possible, creating the familiar DX while also adding it own unique twists and turns.
- Tests cover driver behavior.
Difficulty: large
Metadata
Metadata
Assignees
Labels
@h3ravel/broadcastenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededmediumonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source weekreal-time