PHPackages                             xparthxvorax/larachat - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xparthxvorax/larachat

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xparthxvorax/larachat
=====================

A real-time socket based chat application for Laravel

v0.0.1(7y ago)434PHPPHP &gt;=7.0

Since Nov 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/xparthxvorax/larachat)[ Packagist](https://packagist.org/packages/xparthxvorax/larachat)[ RSS](/packages/xparthxvorax-larachat/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

#### Prerequisites:

[](#prerequisites)

You must have PHP &gt; 7.0, Laravel &gt; 5.0, Web server (Apache/Ngnix), Node.js and npm installed on your machine #### Please follow below steps to install the package to a new or an existing Laravel site:

[](#please-follow-below-steps-to-install-the-package-to-a-new-or-an-existing-laravel-site)

1. Run `php artisan make:auth` to scaffold basic login and registration views and routes
2. Install package using `composer require xparthxvorax/larachat` command
3. Run `php artisan larachat:install` command
4. Setup front-end:

    - Run `npm install -g laravel-echo-server` command
    - Add below dependencies to the `package.json` file:

    ```
    "dependencies": {
       "laravel-echo": "^1.4.1",
       "socket.io-client": "^2.1.1"
    }

    ```

    - Run `npm install` command
    - Add below lines to `resources/js/bootstrap.js`

    ```
    import Echo from "laravel-echo"
    window.io = require('socket.io-client');
    window.Echo = new Echo({
        broadcaster: 'socket.io',
        host: window.location.hostname + ':6001'
    });

    ```

    - Add below line to `resources/js/app.js`

    ```
    Vue.component('larachat-component', require('./components/LarachatComponent.vue'));

    ```

    - To display a user list, add `` in `resources/views/home.blade.php` like:

    ```

                 Dashboard

                     @if (session('status'))

                             {{ session('status') }}

                     @endif

                     You are logged in!

    ```

    Or you may put `` to any other view wherever it fits best as per your site design layout. Also you may modify Vue component's default HTML and CSS into `resources\js\components\LarachatComponent.vue` as per your requirement.
5. Set `BROADCAST_DRIVER=redis` and add `LARAVEL_ECHO_SERVER_AUTH_HOST=your-site-url`
6. Runn `npm run dev` command to compile front-end assets
7. Run `laravel-echo-server start` to start socket server. Keep the command running or you may use supervisor for that()

**Demo video:**

**Live demo site:**

1. Account 1:

    Username:

    Password: secret
2. Account 2:

    Username:

    Password: secret
3. Account 3:

    Username:

    Password: secret

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2729d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cac68b315c1580ca11a4a5ce659551eda1768ac53d8c85412af48dc3e56d06f?d=identicon)[parthvora777](/maintainers/parthvora777)

---

Top Contributors

[![parth-vora7](https://avatars.githubusercontent.com/u/263009169?v=4)](https://github.com/parth-vora7 "parth-vora7 (15 commits)")

### Embed Badge

![Health badge](/badges/xparthxvorax-larachat/health.svg)

```
[![Health](https://phpackages.com/badges/xparthxvorax-larachat/health.svg)](https://phpackages.com/packages/xparthxvorax-larachat)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[php-junior/laravel-video-chat

Laravel Video Chat using Socket.IO and WebRTC

82018.1k](/packages/php-junior-laravel-video-chat)[vcian/pulse-active-sessions

A Laravel Pulse card to show active user session.

11469.2k](/packages/vcian-pulse-active-sessions)[splitsoftware/split-sdk-php

Split SDK for PHP

161.3M2](/packages/splitsoftware-split-sdk-php)[vwo/vwo-php-sdk

VWO server side sdk

12166.4k](/packages/vwo-vwo-php-sdk)

PHPackages © 2026

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