PHPackages                             alisarwar/chat-system - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. alisarwar/chat-system

ActiveLibrary[Framework](/categories/framework)

alisarwar/chat-system
=====================

Real Time Chat System in Laravel using php pusher

010CSS

Since Jul 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/artisanmuhammadali/chat-system)[ Packagist](https://packagist.org/packages/alisarwar/chat-system)[ RSS](/packages/alisarwar-chat-system/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Chat System
===================

[](#laravel-chat-system)

A chat system package for Laravel that enables users to chat with each other using Pusher PHP server. This Package provide you Echosystem ( Event , Controller , Migrations , Models , Views ) which enable your application to start conversatation between two users.

![Status](https://camo.githubusercontent.com/263f3694f42afc27e06a1ff829cd63884893b55624e13a16893dd0a3ba772b94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d737563636573732e737667)[![GitHub Issues](https://camo.githubusercontent.com/688b74e0ae83835f0f508323164f5654ff8876121afdb8af6677b281009f05b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f616c6962696e7361727761722f636861742d73797374656d)](https://github.com/alibinsarwar/chat-system/issues)[![GitHub Pull Requests](https://camo.githubusercontent.com/8066afe0d6f1706fd90533a45c0250e27c8027e49df392e40548f146945e1990/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f616c6962696e7361727761722f636861742d73797374656d)](https://github.com/alibinsarwar/chat-system/pulls)

Preview
-------

[](#preview)

[![Chat System Preview](preview/conversation.gif)](preview/conversation.mp4)

Requirements
------------

[](#requirements)

This package requires the following dependencies:

- User Authentication System ( Breeze , Jetstream , Custom )
- Pusher PHP server
- Pusher API keys and secret keys (obtained from your Pusher account)

Features
--------

[](#features)

- Communication through private channel
- Support Conversation Between two Users
- Dark Theme for Chat System

Installation
------------

[](#installation)

1. Make sure you have a Pusher keys if you don't have then get them by login to [Pusher Dashboard](https://dashboard.pusher.com/) and then create new APP , and install [Pusher PHP Server](https://github.com/pusher/pusher-http-php) For authentication preffer to install [Laravel Breeze](https://github.com/laravel/breeze) package in your Laravel application.
2. Run the following command to install the Laravel Chat System package:

    ```
    composer require alisarwar/chat-system:dev-main
    ```
3. This package provide you Event , Controller , Migrations , Models , Views these things create an echo-system to implement chat system in you application
4. Add Routes to your web.php

    ```
     # veiw all available users to start conversation
        Route::get('/message',[MessageController::class , 'message'])->name('message');
     # open chat of specfic user
        Route::get('/chat/{slug?}',[MessageController::class , 'chat'])->name('chat');
     # broadcast message to channel
        Route::post('/broadcast', [MessageController::class , 'broadcast'])->name('broadcast');
     # receive message from channel
        Route::post('/receive', [MessageController::class , 'receive'])->name('receive');
     # authenticate private channel
        Route::post('/pusher/auth', [MessageController::class , 'auth'])->name('pusher.auth');
    ```
5. Update your .env

    ```
        BROADCAST_DRIVER=pusher

        PUSHER_APP_ID={YOUR_PUSHER_APP_ID}
        PUSHER_APP_KEY={YOUR_PUSHER_APP_KEY}
        PUSHER_APP_SECRET={YOUR_PUSHER_APP_SECRET}
        PUSHER_HOST=
        PUSHER_PORT=443
        PUSHER_SCHEME=https
        PUSHER_APP_CLUSTER={YOUR_PUSHER_APP_CLUSTER}
    ```
6. Migrate and Server Your Application

    ```
        php artisan migrate
        php artisan serve
    ```
7. Register Users and start conversation by going to /message

Contributing
------------

[](#contributing)

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the [GitHub repository](https://github.com/alibinsarwar/chat-system).

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/99584926?v=4)[Muhammad Ali Bin Sarwar](/maintainers/artisanmuhammadali)[@artisanmuhammadali](https://github.com/artisanmuhammadali)

---

Top Contributors

[![alibinsarwar2001-byte](https://avatars.githubusercontent.com/u/293592545?v=4)](https://github.com/alibinsarwar2001-byte "alibinsarwar2001-byte (20 commits)")[![artisanmuhammadali](https://avatars.githubusercontent.com/u/99584926?v=4)](https://github.com/artisanmuhammadali "artisanmuhammadali (4 commits)")

### Embed Badge

![Health badge](/badges/alisarwar-chat-system/health.svg)

```
[![Health](https://phpackages.com/badges/alisarwar-chat-system/health.svg)](https://phpackages.com/packages/alisarwar-chat-system)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
