PHPackages                             hamedmehryar/laravel-chat - 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. hamedmehryar/laravel-chat

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

hamedmehryar/laravel-chat
=========================

Chat feature for laravel

1.0.1(10y ago)259568[1 issues](https://github.com/hamedmehryar/laravel-chat/issues)MITPHPPHP &gt;=5.4.0

Since Nov 8Pushed 7y ago5 watchersCompare

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

READMEChangelog (2)Dependencies (7)Versions (4)Used By (0)

Laravel Chat
============

[](#laravel-chat)

This package will allow you to add a full user messaging system into your Laravel application.

Features
--------

[](#features)

- Thread based conversation
- Invite other users to the thread

Common uses
-----------

[](#common-uses)

- Open threads (everyone can see everything)
- Group messaging (only participants can see their threads)
- One to one messaging (private or direct thread)

Installation (Laravel 5.x) (installation in not recommended because this is a pre-release package)
--------------------------------------------------------------------------------------------------

[](#installation-laravel-5x-installation-in-not-recommended-because-this-is-a-pre-release-package)

In composer.json:

```
"require": {
    "hamedmehryar/laravel-chat" "0.0.0"
}

```

Run:

```
composer update

```

Add the service provider to `config/app.php` under `providers`:

```
'providers' => [
    Hamedmehryar\Chat\ChatServiceProvider::class,
]

```

Publish Assets

```
php artisan vendor:publish --provider="Hamedmehryar\Chat\ChatServiceProvider"

```

Update config file to reference your User Model:

```
config/chat.php

```

Migrate your database:

```
php artisan migrate

```

Add the trait to your user model:

```
use Hamedmehryar\Chat\Traits\Chatable;

class User extends Model {
	use Chatable;
}

```

Add smiley.css file to your page

```

```

**Note:** These examples use the [laravelcollective/html](http://laravelcollective.com/docs/5.0/html) package that is no longer included in Laravel 5 out of the box. Make sure you require this dependency in your `composer.json` file if you intend to use the example files.

Credits
-------

[](#credits)

- [Hamed Mehryar](https://github.com/hamedmehryar)

### Special Thanks

[](#special-thanks)

This package used [cmgmyr/laravel-messenger](https://github.com/cmgmyr/laravel-messenger) as a starting point.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

Every ~24 days

Total

3

Last Release

3843d ago

Major Versions

0.0.0 → 1.0.02015-12-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6290979?v=4)[Hamed Mehryar](/maintainers/hamedmehryar)[@hamedmehryar](https://github.com/hamedmehryar)

---

Top Contributors

[![hamed-netlinks](https://avatars.githubusercontent.com/u/17270136?v=4)](https://github.com/hamed-netlinks "hamed-netlinks (31 commits)")[![hamedmehryar](https://avatars.githubusercontent.com/u/6290979?v=4)](https://github.com/hamedmehryar "hamedmehryar (1 commits)")[![hiren207](https://avatars.githubusercontent.com/u/43753274?v=4)](https://github.com/hiren207 "hiren207 (1 commits)")

---

Tags

laravelmessagingchatuser messaging

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hamedmehryar-laravel-chat/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[cmgmyr/messenger

Simple user messaging tool for Laravel

2.6k2.5M6](/packages/cmgmyr-messenger)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.0k1](/packages/mike-bronner-laravel-model-caching)

PHPackages © 2026

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