live-chat Tailwind Templates

Live Chat

🚀 Real-time live chat application built with Laravel Reverb, Tailwind CSS, and Vanilla JavaScript. Features instant message broadcasting via WebSockets, clean and responsive UI, and dynamic front-end interactions without external JS frameworks.

📡 Real-Time Live Chat Application with Laravel Reverb

A sleek and responsive real-time live chat application built with Laravel Reverb, Tailwind CSS, and Vanilla JavaScript. This project showcases how to implement WebSocket-powered instant messaging without relying on external JS frameworks like Vue or React.

📸 Preview

Chat Demo image Chat Demo gif


🚀 Features

  • Real-time messaging via Laravel Reverb and WebSockets
  • 🎨 Clean, responsive UI with Tailwind CSS
  • Dynamic front-end interactions using Vanilla JavaScript
  • 📱 Mobile-friendly and desktop-ready layout
  • 📥 Message input with instant broadcast to all connected clients
  • 🔒 Secure broadcasting through Laravel Reverb channels

🛠️ Tech Stack

  • Backend: Laravel 11, Laravel Reverb (WebSockets)
  • Frontend: Tailwind CSS, Vanilla JavaScript
  • Broadcast Driver: Laravel Reverb (WebSockets)

📦 Installation & Setup

1️⃣ Clone the repository

git clone https://github.com/monir0153/live-chat
cd live-chat

2️⃣ Install dependencies

composer install or composer update
npm install && npm run build

3️⃣ Set up environment variables

cp .env.example .env
php artisan key:generate

4️⃣ Configure broadcasting in .env

BROADCAST_DRIVER=reverb
REVERB_APP_KEY=your_app_key_here
REVERB_PORT=6001

5️⃣ Run migrations

php artisan migrate

6️⃣ Start Laravel server

php artisan serve
npm run dev

7️⃣ Start Reverb WebSocket server

php artisan reverb:start

Top categories

Loading Svelte Themes