
Welcome to Laravel Chorus
Laravel Chorus is a real-time synchronization engine that seamlessly syncs subsets of your database to your users’ devices, enabling lightning-fast user interfaces and robust offline capabilities.Why Choose Chorus?
Instant User Experience
Users see immediate feedback for all actions, eliminating loading states and creating native app-like experiences.
Offline-First Architecture
Full functionality even without internet connection. Changes sync automatically when back online.
Real-Time Synchronization
Changes broadcast instantly to all connected clients using Laravel Reverb WebSockets.
Secure by Design
Built-in data filtering, multi-tenant isolation, and server-side validation for all operations.
Quick Start
Get up and running with Laravel Chorus in under 5 minutes:1
Install the Package
2
Add the Trait
3
Use in Frontend
Key Features
Selective Synchronization
Selective Synchronization
Choose exactly which models and fields to sync. Apply custom filters to control data scope per user.
Optimistic Updates
Optimistic Updates
UI updates immediately before server confirmation, providing instant user feedback with automatic rollback on errors.
Multi-Tenant Support
Multi-Tenant Support
Built-in tenant isolation with channel prefixes ensures complete data separation between organizations.
Write Actions
Write Actions
Server-side validation and business logic with support for offline writes and conflict resolution.
React Integration
React Integration
Powerful React hooks for effortless real-time data binding with TypeScript support.
How Chorus Works
- User performs an action (create, update, delete)
- UI updates instantly using optimistic updates
- Request processed by server-side Write Actions
- Change broadcasted as a “harmonic” to all connected clients
- All clients sync the change to their local IndexedDB
Use Cases
Chorus is perfect for applications requiring instant user feedback and real-time collaboration:- Messaging and chat applications
- Collaborative editing tools
- Personal Apps
- Real-time analytics interfaces
- Social media feeds
- E-commerce with live inventory
Next Steps
What is Chorus?
Learn about the core concepts and benefits of using Chorus
Getting Started
Install and configure Chorus in your Laravel application
React Integration
Build real-time React components with Chorus hooks
Core Concepts
Deep dive into harmonics and the write path
Ready to transform your application’s user experience? Get started with Laravel Chorus today!