Welcome to the Laravel Reverb Chat Application! This project demonstrates how to build a real-time chat application using Laravel Reverb.
- Real-time messaging using Laravel Reverb.
- Simple and clean user interface built with Laravel Blade templates.
- No need for external WebSocket servers or third-party services.
- Easy to set up and extend for further real-time applications.
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/vickypandey14/Laravel-Reverb-chat-application.git cd Laravel-Reverb-chat-application
-
Install dependencies:
composer install npm install npm run dev
-
Set up the environment variables: Copy
.env.example
to.env
and configure your database and other environment variables as needed. -
Run migrations:
php artisan migrate
-
Install Laravel Reverb:
php artisan reverb:install
-
Start the WebSocket server:
php artisan reverb:start
-
Serve the application:
php artisan serve
Your application should now be running on
http://localhost:8000
.
After following the installation steps, you can start using the chat application by registering a user and navigating to the chat interface.
- Real-time messaging: Send and receive messages in real-time without needing to refresh the page.
- Responsive UI: The chat interface is designed to be responsive and works well on both desktop and mobile devices.