Unified Social Media Inbox & Real-Time Communication
A unified inbox dashboard integrating Facebook, Instagram, WhatsApp Business, and Email into a single conversation management platform. Features real-time message broadcasting using Laravel Reverb WebSockets. Implements webhook receivers for social platform events, multi-channel message dispatching via Graph API, and role-based access control. Built for teams managing high-volume customer communications across multiple social channels.
Major features and technical achievements of this project.
Instant updates via Laravel Reverb WebSockets
All social channels in one interface
Real-time event reception from platforms
Multi-user conversation management
The architectural patterns and design decisions behind this project.
WebSocket-based real-time message delivery. Events broadcast to channels, enabling instant UI updates across all connected clients.
Incoming webhooks from Facebook, Instagram, and WhatsApp normalized into unified conversation and message models.
Single interface managing conversations across Facebook, Instagram, WhatsApp, and Email with real-time updates.
Outbound message routing to correct platform API based on conversation source with token management.
Laravel Reverb WebSockets
Real-time message delivery via ShouldBroadcast events. ChatEvent and MessageEvent broadcast to channels for instant UI updates without polling.
Domain Services
ChatService, EventService, ProviderService encapsulate business logic. Controllers remain thin, delegating to services for testability.
Platform-Agnostic Handler
WebhookController normalizes incoming payloads from Facebook, Instagram, and WhatsApp into unified conversation/message models.
Strategy Pattern
ChatService routes outbound messages to correct platform API (Graph API, WhatsApp Business API, SMTP) based on conversation source.