PHPackages                             rtippin/messenger - 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. [Image &amp; Media](/categories/media)
4. /
5. rtippin/messenger

ActiveLibrary[Image &amp; Media](/categories/media)

rtippin/messenger
=================

Laravel messenger suite.

v1.24.0(1y ago)45035.8k↓15.4%90[2 issues](https://github.com/RTippin/messenger/issues)[1 PRs](https://github.com/RTippin/messenger/pulls)4MITPHPPHP ^8.1|^8.2|^8.3CI failing

Since Dec 8Pushed 1y ago15 watchersCompare

[ Source](https://github.com/RTippin/messenger)[ Packagist](https://packagist.org/packages/rtippin/messenger)[ Docs](https://github.com/rtippin/messenger)[ GitHub Sponsors](https://github.com/RTippin)[ RSS](/packages/rtippin-messenger/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (172)Used By (4)

Laravel Messenger
=================

[](#laravel-messenger)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6ff17dfb7d3cdc5a08a473e2319af772b2ae55c0b9e056384f73ab4608e593fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7274697070696e2f6d657373656e6765722e7376673f7374796c653d706c61737469632663616368655365636f6e64733d33363030)](https://packagist.org/packages/rtippin/messenger)[![Total Downloads](https://camo.githubusercontent.com/f129042d643eb6e7b5381eed644bb240445592e2b071113dd7407fddb7aa306a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7274697070696e2f6d657373656e6765722e7376673f7374796c653d706c61737469632663616368655365636f6e64733d33363030)](https://packagist.org/packages/rtippin/messenger)[![Tests](https://camo.githubusercontent.com/6b92c7d9dc9e2603ab5901dee76c801eb12515fac50e896a717d81518f4db124/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7274697070696e2f6d657373656e6765722f746573742e796d6c3f6272616e63683d312e78267374796c653d706c6173746963)](https://github.com/RTippin/messenger/actions)[![StyleCI](https://camo.githubusercontent.com/4808c81f292e7582e3cb7b80d859ebea9ef25e5f2cfdbd8080178f0097f13044/68747470733a2f2f7374796c6563692e696f2f7265706f732f3330393532313438372f736869656c643f7374796c653d706c61737469632663616368655365636f6e64733d33363030)](https://styleci.io/repos/309521487)[![License](https://camo.githubusercontent.com/91233c350b0b291fac415173af3261f49182b896277afaf19ba311fff4ad6a42/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f5254697070696e2f6d657373656e6765723f7374796c653d706c6173746963)](https://packagist.org/packages/rtippin/messenger)

---

[![Preview](https://raw.githubusercontent.com/RTippin/messenger/1.x/docs/images/image1.png?raw=true)](https://raw.githubusercontent.com/RTippin/messenger/1.x/docs/images/image1.png?raw=true)

---

### Prerequisites

[](#prerequisites)

LaravelPHPMessenger`8.x``^7.4` `^8.0` `^8.1``= 1.20.0``10.x``^8.1` `^8.2` `^8.3``>= 1.22.0``11.x``^8.2` `^8.3``>= 1.23.0``12.x``^8.2` `^8.3` `^8.4``>= 1.24.0`- Route model binding enabled in your API / WEB middleware groups.

### Features

[](#features)

- Realtime messaging between multiple models.
- RESTful API, allowing you to create your own UI or connect to your mobile app.
- Private and group threads.
- Message reactions, replies, edits, and deletion.
- Send image, document, audio, and video messages.
- Group thread chat-bots. [Ready-made bots](https://github.com/RTippin/messenger-bots)
- Customize and create your own chat-bot handlers and bot packages. See the [Chat Bots](docs/ChatBots.md) documentation.
- Add participants in a group thread from your friends list.
- Permissions per participant within a group thread.
- Friends, Search, and Online status systems.
- Private thread approval when the two participants are not friends.
- Provider avatars, group thread avatars, and bot avatars.
- Underlying calling system you can extend. See the [Calling](docs/Calling.md) documentation.
- Group thread invitation links (like discord).
- All endpoints are protected behind policies.
- Scheduled commands for automated cleanup and checks.
- Queued jobs fired from our event subscribers.
- Most features can be toggled at runtime using our `Messenger` facade.
- `MessengerComposer` facade allows you to have easy access to the core actions anywhere within your own app, such as sending messages, images, reactions, and more.
- You can implement or extend your own `BroadcastDriver`, `VideoDriver`, and `FriendDriver`, simply by binding your classes into the container.
- Support for morph maps on your provider models. See: [Morph Maps](https://laravel.com/docs/8.x/eloquent-relationships#custom-polymorphic-types)
- Optional extra payload when sending messages to allow custom json to be stored with the message.
- Owner relationships returns a `Ghost Profile` when not found (null-object pattern).
- Private threads auto-lock when the recipient is not found / deleted.

### Upcoming for v2

[](#upcoming-for-v2)

- Please see the [2.x Branch](https://github.com/RTippin/messenger/tree/2.x) for more information.

### Notes

[](#notes)

- This is a `Laravel` package and must be installed in a `laravel` application to run.
- Read through the [`messenger.php`](https://github.com/RTippin/messenger/blob/1.x/config/messenger.php) config file before migrating!
- This is a pure backend driven package providing an API to interact with, thus no web UI or websocket implementation will be setup for you.
- Calling is disabled by default. You are responsible for implementing your own media server or connecting to a 3rd party provider.
- Configure your laravel applications broadcast driver and set up your websocket implementation to utilize the real-time broadcast emitted.

---

Installation
============

[](#installation)

### Composer

[](#composer)

```
composer require rtippin/messenger
```

### To complete the setup, please refer to the installation documentation listed below:

[](#to-complete-the-setup-please-refer-to-the-installation-documentation-listed-below)

---

Documentation
=============

[](#documentation)

- ### [Install / Registering Providers](docs/Installation.md)

    [](#install--registering-providers)
- ### [Configuration](docs/Configuration.md)

    [](#configuration)
- ### [Commands](docs/Commands.md)

    [](#commands)
- ### [Broadcasting](docs/Broadcasting.md)

    [](#broadcasting)
- ### [Events](docs/Events.md)

    [](#events)
- ### [Chat Bots](docs/ChatBots.md)

    [](#chat-bots)
- ### [Calling](docs/Calling.md)

    [](#calling)
- ### [Messenger Composer](docs/Composer.md)

    [](#messenger-composer)
- ### [Helpers / Facades](docs/Helpers.md)

    [](#helpers--facades)
- ### [API Explorer](https://tippindev.com/api-explorer)

    [](#api-explorer)

---

Addons / Demo
-------------

[](#addons--demo)

- [Messenger Bots](https://github.com/RTippin/messenger-bots) - Pre-made bots you can register within this package.
- [Messenger Faker](https://github.com/RTippin/messenger-faker) - Adds commands useful in development environments to mock/seed realtime events and messages.
- [Messenger Web UI](https://github.com/RTippin/messenger-ui) - Ready-made web routes and publishable views / assets, including default images.
- [Demo App](https://github.com/RTippin/messenger-demo) - A demo laravel app with this core package installed, including a [Live Demo](https://tippindev.com).

---

Credits - [Richard Tippin](https://github.com/rtippin)
------------------------------------------------------

[](#credits---richard-tippin)

### [LICENSE](https://packagist.org/packages/rtippin/messenger)

[](#license)

### [CHANGELOG](https://github.com/RTippin/messenger/blob/1.x/CHANGELOG.md)

[](#changelog)

Security
--------

[](#security)

If you discover any security related issues, please email author instead of using the issue tracker.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance44

Moderate activity, may be stable

Popularity51

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.5% 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 ~9 days

Recently: every ~185 days

Total

170

Last Release

438d ago

Major Versions

v0.47-alpha.0 → v1.0.02021-08-14

v1.21.0 → 2.x-dev2022-08-25

PHP version history (7 changes)v0.1-alpha.1PHP ^7.4

v0.9-alpha.1PHP ^7.4||^8.0

v1.14.0PHP ^7.4|^8.0|^8.1

v1.20.0PHP ^8.0.2|^8.1

2.x-devPHP ^8.1

v1.22.0PHP ^8.1|^8.2

v1.22.1PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d1480b73292a19b0666167057cfe9f0966c5f1f41f18d55152d46949035d025?d=identicon)[rtippin](/maintainers/rtippin)

---

Top Contributors

[![RTippin](https://avatars.githubusercontent.com/u/3917769?v=4)](https://github.com/RTippin "RTippin (1531 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (4 commits)")[![ajnozari](https://avatars.githubusercontent.com/u/1380829?v=4)](https://github.com/ajnozari "ajnozari (2 commits)")[![lioneaglesolutions](https://avatars.githubusercontent.com/u/61766491?v=4)](https://github.com/lioneaglesolutions "lioneaglesolutions (1 commits)")

---

Tags

callingcallschatchat-botdiscordfriendsgroupsinboxlaravelmessagesmessengerpusherrealtime-chatsocket-iothreadsvideolaravelMessenger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rtippin-messenger/health.svg)

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

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[mostafaznv/nova-ckeditor

CkEditor for Laravel Nova

57327.2k1](/packages/mostafaznv-nova-ckeditor)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

254.4k](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

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