PHPackages                             belfil/atomic-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. belfil/atomic-chat

ActiveLibrary

belfil/atomic-chat
==================

Atomic-fast, scalable messaging SDK for Laravel

v0.2.4(1mo ago)05↓100%[2 issues](https://github.com/belfil/atomic-chat/issues)MITPHPPHP ^8.2CI failing

Since Mar 7Pushed 1mo agoCompare

[ Source](https://github.com/belfil/atomic-chat)[ Packagist](https://packagist.org/packages/belfil/atomic-chat)[ Docs](https://github.com/belfil/atomic-chat)[ RSS](/packages/belfil-atomic-chat/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (11)Used By (0)

⚛️ Atomic Chat
==============

[](#️-atomic-chat)

[![Latest Version](https://camo.githubusercontent.com/8353165659f6e32222fac3e527551061584a4f13756d19be15e92932a069c8ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62656c66696c2f61746f6d69632d636861742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/belfil/atomic-chat)
[![GitHub Actions](https://github.com)](https://github.com)
[![License](https://camo.githubusercontent.com/968d8d3d02dd831287eeae8950a953737bfde2fa333d570be667f550d08f011f/68747470733a2f2f696d672e736869656c64732e696f)](LICENSE.md)

**Atomic-fast, scalable messaging engine for Laravel.**

Built for high-performance applications with native **Laravel Reverb** support, a modular architecture, and a clean Fluent API.

> ⚠️ **Status:** Atomic Chat is currently in **Alpha**. Expect changes.

---

✨ Features
----------

[](#-features)

- 🧩 **Actors System**
    Attach any Eloquent model (User, Bot, Company) to conversations.
- 🔗 **Fluent Builder API**
    Elegant, chainable syntax for creating chats and messages.
- 🧱 **Modular Architecture**
    Enable only what you need:

    - Streams
    - Private Chats
    - Groups
- ⚡ **Performance First**
    Optimized indexes and efficient "read receipts" via watermarks.

---

🚀 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require belfil/atomic-chat
```

Publish config (optional but recommended):

```
php artisan vendor:publish --tag="atomic-chat-config"
```

Run migrations:

```
php artisan migrate
```

---

💬 Quick Start
-------------

[](#-quick-start)

### 1. Stream Conversations

[](#1-stream-conversations)

Streams are the simplest chat type — ideal for logs, feeds, or public messaging.

```
use Belfil\AtomicChat\Stream\Models\StreamChat;

// Create a stream
$chat = StreamChat::new()->save();
```

---

### 2. Send Messages

[](#2-send-messages)

Using the Chat instance:

```
$chat->message()
    ->content('Hello Atomic World! ⚛️')
    ->save();
```

Or via Message Builder:

```
use Belfil\AtomicChat\Stream\Models\StreamMessage;

StreamMessage::new()
    ->content('Fluent API is awesome')
    ->chat($chat)
    ->save();
```

---

### 3. Retrieve Messages

[](#3-retrieve-messages)

Standard Eloquent relationships:

```
$messages = $chat->messages()
    ->latest()
    ->get();
```

---

🧩 Modules
---------

[](#-modules)

Atomic Chat is fully modular. Configure modules in:

`config/atomic-chat.php`

```
'modules' => [
    'stream' => [
        'enabled' => true,
        'provider' => \Belfil\AtomicChat\Stream\ServiceProvider::class,
    ],
],
```

---

🛣️ Roadmap
----------

[](#️-roadmap)

- Private chats module
- Group conversations
- WebSocket
- Message reactions
- Attachments

---

🤝 Contributing
--------------

[](#-contributing)

PRs, ideas, and feedback are welcome — especially during Alpha.

---

📄 License
---------

[](#-license)

See [LICENSE.md](LICENSE.md)

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance97

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Every ~1 days

Total

10

Last Release

49d ago

Major Versions

9.x-dev → 12.x-dev2026-03-10

v0.2.1 → 14.x-dev2026-03-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5eb22e156b8efc0536e2e58668105dc137f99b112ce18e847530e738320b4b7?d=identicon)[belfil](/maintainers/belfil)

---

Top Contributors

[![belfil](https://avatars.githubusercontent.com/u/94894473?v=4)](https://github.com/belfil "belfil (33 commits)")

---

Tags

chatlaravelphpreverblaravelmessagingchatbelfilatomic-chat

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/belfil-atomic-chat/health.svg)

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

###  Alternatives

[cmgmyr/messenger

Simple user messaging tool for Laravel

2.6k2.4M6](/packages/cmgmyr-messenger)[musonza/chat

Chat Package for Laravel

1.2k253.4k1](/packages/musonza-chat)[lexxyungcarter/chatmessenger

Simple one-to-one/group chat messaging tool for Laravel 5, 6, 7, 8, 9 &amp; 10 with Pusher Integration

10724.1k](/packages/lexxyungcarter-chatmessenger)[syntaxlexx/chatmessenger

Simple one-to-one/group chat messaging tool for Laravel 5, 6, 7, 8, 9 &amp; 10 with Pusher Integration

10510.2k](/packages/syntaxlexx-chatmessenger)[api-platform/laravel

API Platform support for Laravel

59126.4k5](/packages/api-platform-laravel)

PHPackages © 2026

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