Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Reverb Laravel Package

laravel/reverb

Laravel Reverb adds real-time WebSocket communication to Laravel apps. Use it to broadcast events and power live updates with a first-party, Laravel-native server. Official docs: https://laravel.com/docs/reverb

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Real-time features roadmap: Enables live notifications, chat, collaborative editing, and live updates (e.g., stock tickers, dashboards) without third-party dependencies like Pusher or Ably.
  • Cost optimization: Replaces paid WebSocket services (e.g., Pusher, Socket.io) for high-scale apps, reducing infrastructure costs by leveraging Redis-backed Laravel infrastructure.
  • Monolithic vs. microservices: Ideal for Laravel-first architectures where real-time needs align with existing Laravel ecosystems (e.g., Laravel Echo, Laravel Livewire).
  • Use cases:
    • Collaboration tools (e.g., shared document editing, whiteboarding).
    • Live dashboards (e.g., real-time analytics, IoT telemetry).
    • Gaming (e.g., turn-based games, multiplayer interactions).
    • Customer support (e.g., live chat, agent availability updates).
  • Security/compliance: Supports rate limiting, API signature verification, and CORS controls for enterprise-grade real-time apps.
  • Scalability: Built-in Redis clustering support and connection limits for horizontal scaling.

When to Consider This Package

  • Adopt if:

    • Your app is Laravel-native and already uses Laravel Echo or Livewire.
    • You need WebSocket support without vendor lock-in (e.g., avoiding Pusher/Ably).
    • Your team has PHP/Laravel expertise and can manage Redis infrastructure.
    • You require fine-grained control over WebSocket behavior (e.g., custom auth, rate limiting).
    • Budget constraints demand self-hosted real-time solutions.
  • Look elsewhere if:

    • You need cross-language support (e.g., Node.js/Python clients) without Laravel-specific wrappers.
    • Your app requires ultra-low latency (e.g., high-frequency trading) where PHP may not be optimal.
    • You lack Redis infrastructure or expertise in scaling WebSocket connections.
    • You prioritize enterprise support/SLA over open-source maintenance.
    • Your use case demands WebRTC or graph-based protocols (e.g., Matrix).

How to Pitch It (Stakeholders)

For Executives: "Laravel Reverb lets us own our real-time infrastructure—cutting cloud WebSocket costs by 70% while keeping data secure and scalable. It’s the Pusher alternative for Laravel apps, with built-in support for live chat, notifications, and dashboards. No vendor lock-in, full control, and seamless integration with our existing stack."

For Engineering: *"Reverb replaces Pusher with a Laravel-native WebSocket backend using Redis. Key benefits:

  • Cost savings: Self-hosted, no per-message fees.
  • Performance: Optimized for Laravel (Echo/Livewire compatibility).
  • Features: Rate limiting, auth signatures, and Redis clustering out of the box.
  • Maintenance: Actively developed by the Laravel team, with PHP 8.5+ support. Tradeoff: Requires Redis setup, but we can leverage our existing infrastructure. Migration path exists via Laravel Echo’s driver system."*

For Developers: *"Drop Pusher for a Laravel-first WebSocket solution. Reverb gives you:

  • Familiar APIs: Works with Laravel Echo and Livewire.
  • Customization: Tweak auth, rate limits, and CORS via config.
  • Debugging: Built-in reverb:reload command and event hooks. Example: Replace Pusher::channel() with Broadcast::channel()—same logic, no vendor dependency."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport