Download the PHP package nnixon/laravel-simple-realtime-chat without Composer
On this page you can find all versions of the php package nnixon/laravel-simple-realtime-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nnixon/laravel-simple-realtime-chat
More information about nnixon/laravel-simple-realtime-chat
Files in nnixon/laravel-simple-realtime-chat
Package laravel-simple-realtime-chat
Short Description A simple realtime chat package for Laravel
License MIT
Informations about the package laravel-simple-realtime-chat
Laravel Simple Realtime Chat
A lightweight package for adding realtime chat functionality to your Laravel application.
Features
- One-on-one private conversations
- Group chat support
- Realtime message updates with Pusher
- Read status tracking
- User search functionality
- Responsive UI with TailwindCSS
Requirements
- PHP 8.0+
- Laravel 8.0+
- Pusher account for realtime functionality
Prerequisites
Before installing this package, make sure to set up authentication and required dependencies:
Installation
-
Install the package via composer:
-
Publish the package files:
-
Run the migrations:
-
Uncomment the BroadcastServiceProvider in
config/app.php: -
Update your
.envfile with Pusher credentials: -
Update your
routes/channels.phpfile with the following code: - Build your frontend assets:
Usage
Once installed, you can access the chat interface at:
/conversations- View all conversations/conversations/{id}- View a specific conversation/conversations/create-group- Create a new group conversation
Customization
All views are published to resources/views/realtime-chat and can be customized to match your application's design.
Controllers, models, and other files are published to their respective directories in your application and can be modified as needed.
License
MIT