Welcome to the Laravel Chat Application! This application allows you to create real-time chat conversations between users using the Laravel framework. It includes features such as user authentication, chat rooms, and real-time messaging.
- Real-time messaging: Chat messages are sent and received instantly using WebSocket technology.
- User authentication: Register, login, and logout functionality for users.
- Chat rooms: Users can create or join chat rooms to communicate with other users.
- User profiles: View and edit user profile information.
- Secure communication: Messages are transmitted securely over the network.
Follow the instructions below to install and run the project on your local machine:
Clone the repository from GitHub:
git clone https://github.com/AjayYadavAi/laravel-reverb-chat-app.git
Change to the project directory:
cd laravel-chat-app
Install the required PHP and JavaScript dependencies:
composer install
npm install
Copy the .env.example
file to a new file named .env
:
cp .env.example .env
Configure the .env
file with your database and other settings.
Generate a new application key:
php artisan key:generate
Run the migrations to set up the database schema:
php artisan migrate
Seed the database with default data (if available):
php artisan db:seed
To enable real-time messaging, you need to start the Reverb server:
php artisan reverb:start
Start the Laravel application:
php artisan serve
The application will run on http://127.0.0.1:8000
.
This project is licensed under the MIT License.
Contributions are welcome! Please fork this repository and submit pull requests for any improvements or bug fixes.