Documentation Real-time Events

πŸ“¦ Laravel Reverb Installation

Listen to incoming messages and status updates.


WhatsApp Manager Webhook Documentation | View on GitHub

πŸ“‘ Real-Time Events

Introduction

The real-time event system allows your application to instantly react to WhatsApp interactions using WebSockets. With Laravel Reverb and Laravel Echo integration, you can receive instant notifications about incoming messages, status updates, template events, and more, creating highly interactive and responsive user experiences.

Key benefits:

  • Instant notifications without polling
  • Real-time UI updates
  • Lower latency for better user experience
  • Seamless integration with Laravel ecosystem
  • Support for public and private channels

πŸ“š Table of Contents

  1. Laravel Reverb Setup

    • Installation
    • Server configuration
    • Environment variables
  2. Laravel Echo Setup

    • Frontend dependencies
    • Frontend configuration
    • Vite environment variables
  3. Supported Events

    • Messages
    • Statuses
    • Templates
    • Interactions
  4. Listening to Events

    • Channel configuration
    • Frontend examples
    • Testing with Tinker
  5. Best Practices

    • Channel security
    • Error handling
    • Performance optimization

πŸ“¦ Laravel Reverb Installation

1. Install Laravel Reverb via Composer

In a new terminal, run:

composer require laravel/reverb

Share this page