Download the PHP package mmedia/le-chat without Composer
On this page you can find all versions of the php package mmedia/le-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mmedia/le-chat
More information about mmedia/le-chat
Files in mmedia/le-chat
Package le-chat
Short Description Add chat functionality to your Laravel application.
License MIT
Homepage https://github.com/mmedia/le-chat
Informations about the package le-chat
Le Chat
Le Chat adds rich, flexible chat functionality to your Laravel application with minimal setup and maximum customization. Whether you're building one-on-one messaging, group chatrooms, or bot integrations, this package gives you the tools to implement powerful conversations between any models in your app.
๐ Features
- Send messages between any models
- One-to-one and multi-user chatrooms
- System messages and bot support
- Unread message tracking
- WebSocket connection detection
- Notifications via Laravel and WebPush
- REST API endpoints included
- No frontend views โ bring your own UI
๐ฆ Installation
Publish migrations and config:
๐ง Core Concepts
Chatroom: A conversation space containing messages and participantsChatParticipant: A polymorphic link between your models and a chatroomMessage: A message sent by a participant in a chatroomIsChatParticipantTrait: Add to any model to enable chat behavior
โ Requirements
- PHP 8.0+
- Laravel 11+
โจ Quick Example
Easily send messages to:
- Individual users
- Multiple recipients
- Entire chatrooms
- Non-model participants (bots, services, etc.)
๐ฅ Why Not Chatify?
Unlike Chatify, Le Chat does not limit messages to one sender and one recipient. This package supports:
- Multi-participant chatrooms
- Flexible polymorphic model support
- Bots and non-DB participants
๐ Full Documentation
See the complete usage guide for in-depth examples, APIs, and advanced features:
๐ View Full Docs โ
๐งช Comparison to Other Projects
- Wirechat โ Livewire-heavy
- Musonza Chat โ Feature-rich but complex
- Le Chat โ Simple API, full flexibility, no view layer
๐โโ๏ธ Use Cases
- Teacher โ Student chat (one-on-one)
- Teachers + Students group chats per class
- Chatbot โ User conversations
- Cross-platform relay (e.g. Slack integration)
๐ License
MIT ยฉ
All versions of le-chat with dependencies
illuminate/contracts Version ^10.0||^11.0||^12.0
spatie/laravel-package-tools Version ^1.92
staudenmeir/eloquent-has-many-deep Version ^1.7