friendsofsymfony / message
A framework-agnostic PHP 5.4+ user-to-user messaging library
Installs: 14 226
Dependents: 0
Suggesters: 0
Security: 0
Stars: 63
Watchers: 12
Forks: 16
Open Issues: 9
Requires
- php: >=5.4
- doctrine/collections: ^1.3.0
- webmozart/assert: ^1.0
Requires (Dev)
- doctrine/orm: ^2.5.1
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^4.8.9
- sllh/php-cs-fixer-styleci-bridge: ~1.3
This package is auto-updated.
Last update: 2024-12-22 22:38:03 UTC
README
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