PHPackages                             peter31/message - 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. peter31/message

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

peter31/message
===============

A framework-agnostic PHP 5.4+ user-to-user messaging library

06PHP

Since Jan 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/peter31/FOSMessage)[ Packagist](https://packagist.org/packages/peter31/message)[ RSS](/packages/peter31-message/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

FOSMessage
==========

[](#fosmessage)

[![Build Status](https://camo.githubusercontent.com/b5ecf5edcf5056226e7b9828ae11593f3a4f6168008910d759d4a02931a834bc/68747470733a2f2f7472617669732d63692e6f72672f467269656e64734f6653796d666f6e792f464f534d6573736167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/FriendsOfSymfony/FOSMessage)[![Build status](https://camo.githubusercontent.com/586083917273b885f73ac4413a4863870eff118fe17d70652ba013c69d53f60d/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f356831726e736d6b38686734726b62663f7376673d74727565)](https://ci.appveyor.com/project/tgalopin/fosmessage)

FOSMessage is a PHP 5.4+ framework-agnostic library providing a data structure and common features to set up user-to-user messaging systems.

You can think of it as a model for your messaging features : it will take care of the consistency of the data for you in order to easily create a full-featured messaging system.

> *Note* : This library is currently in development. You can test it in your project (the Composer installation process is very simple), but you should not use it in production for the moment.

This library is based on concepts shared by most modern frameworks (dependency injection, event dispatching, abstract data drivers, etc.) and therefore, it’s very easy to set it up in any kind of context.

If you want to set it up in Symfony, *FOSMesageBundle* is being developed in a new version (not ready yet).

Documentation
-------------

[](#documentation)

You can [read the documentation here](http://fosmessage.readthedocs.org).

Usage example
-------------

[](#usage-example)

An implementation example is available on Github: [tgalopin/FOSMessage-demo](https://github.com/tgalopin/FOSMessage-demo).

Key features
------------

[](#key-features)

- Conversation-based messaging
- Multiple conversations participants support
- Very easy to implement (at least in most of the cases)
- Framework-agnotic
- Doctrine ORM and Mongo ODM support
- Not linked to user system implementation
- Optionnal tagging system to organize conversations
- Event system to let developer execute actions on key steps
- Implemented in framework-specific bundle / module
- PHP7 and HHVM support

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/22675ef20dcc26f0fc9332f857dd8bc4137b1e01ee768c59b8a62b25efa19009?d=identicon)[peter31](/maintainers/peter31)

---

Top Contributors

[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (53 commits)")[![aitboudad](https://avatars.githubusercontent.com/u/1753742?v=4)](https://github.com/aitboudad "aitboudad (4 commits)")[![ionafan2](https://avatars.githubusercontent.com/u/807543?v=4)](https://github.com/ionafan2 "ionafan2 (2 commits)")[![peter31](https://avatars.githubusercontent.com/u/17447676?v=4)](https://github.com/peter31 "peter31 (1 commits)")[![radbrad86](https://avatars.githubusercontent.com/u/3998313?v=4)](https://github.com/radbrad86 "radbrad86 (1 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (1 commits)")

### Embed Badge

![Health badge](/badges/peter31-message/health.svg)

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

###  Alternatives

[drmonkeyninja/cakephp-social-share

CakePHP helper for creating social share/bookmark links

34103.3k](/packages/drmonkeyninja-cakephp-social-share)[mihanentalpo/fio-analyzer

Analyze user input string, and split it into Russian first name, second name and last name

1422.9k](/packages/mihanentalpo-fio-analyzer)

PHPackages © 2026

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