A modern frontend application for testing Laravel Reverb WebSocket connections. With a Swagger-like interface, you can easily test your WebSocket connections, view real-time logs, and manage channel subscriptions.
- ✅ Real-time Connection Testing - Connect to your Laravel Reverb server
- ✅ Detailed Logging System - Monitor all connection, channel, and event activities
- ✅ Channel Management - Subscribe to public, private, and presence channels
- ✅ Event Listeners - Listen to different events and receive real-time data
- ✅ Dark/Light Theme - Choose your preferred theme
- ✅ Responsive Design - Mobile and desktop compatible
- ✅ TypeScript Support - Type-safe development
- Node.js 18+
- npm or yarn
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open
http://localhost:3000
in your browser
- Host: Your Laravel Reverb server address (e.g., localhost)
- Port: WebSocket port (default: 6001)
- App Key: Your Laravel application's Pusher key
- Cluster: Reverb cluster name
- Force TLS: Force HTTPS connection
- Public Channel:
channel-name
- Private Channel:
private-channel-name
- Presence Channel:
presence-channel-name
You can listen to events on subscribed channels:
- Custom events (e.g.,
message.sent
,user.online
) - System events (e.g.,
pusher:member_added
)
Configure these settings in your .env
file:
BROADCAST_DRIVER=reverb
REVERB_APP_ID=app-id
REVERB_APP_KEY=app-key
REVERB_APP_SECRET=app-secret
REVERB_HOST="localhost"
REVERB_PORT=8080
REVERB_SCHEME=http
- Frontend: React 18 + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- WebSocket: Pusher.js (Laravel Reverb compatible)
- UI Components: Custom Radix-inspired components
src/
├── components/ # UI components
├── hooks/ # React hooks
├── types/ # TypeScript type definitions
├── lib/ # Utility functions
└── App.tsx # Main application
To build for production:
npm run build
Build files will be generated in the dist/
folder.
npm run lint
TypeScript is automatically checked during the build process.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT License