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

dev-master / 1.0.x-dev 2016-02-04 14:23 UTC

This package is auto-updated.

Last update: 2024-10-22 22:24:28 UTC


README

Build Status Build status

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

You can read the documentation here.

Usage example

An implementation example is available on Github: tgalopin/FOSMessage-demo.

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