Laravel Reverb
LaraKube provides a first-class experience for Laravel Reverb, the high-performance WebSocket server for Laravel applications.
⚡️ Automations
When you enable Reverb, LaraKube handles the complex networking for you:
- Server Scaffolding: Creates the Reverb server deployment and a dedicated Service.
- Frontend Wiring:
- Automatically detects your framework (React or Vue).
- Installs the required
@laravel/echo-*packages. - Configures
app.jsorapp.tsxwith the correct broadcaster settings.
- Local Ingress: Sets up a secure local URL at
https://reverb.your-project.local.
Environment Variables
LaraKube automatically injects and configures these essential keys in your .env:
REVERB_APP_IDREVERB_APP_KEYREVERB_APP_SECRETREVERB_HOSTREVERB_PORT
Deployment
In production, Reverb scales as a dedicated microservice within your cluster, allowing your main application to remain lean while Reverb handles thousands of concurrent WebSocket connections.