PHP Classes

How to Implement a PHP Messenger Chat to Exchange Messages Between Site Users Melis Messenger: Exchange messages between Melis platform users

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (38)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-07-23 (2 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 20 This week: 20All time: 11,249 This week: 1Up
Version License PHP version Categories
melis-messenger 1.0The PHP License5PHP 5, Chat
Description 

Author

This package can exchange messages between Melis platform users.

It provides an application based on the Melis Platform that allows users to perform several types of messaging operations.

Currently, it can:

- Display the messaging tool in the platform

- Create conversations between users

- Send messages from one user to another

Picture of Fabrice Fesch
Name: Fabrice Fesch <contact>
Classes: 11 packages by
Country: France France
Innovation award
Innovation award
Nominee: 7x

Documentation

melis-messenger

MelisMessenger offers a messenging system inside the platform so that collaborators can talk to each others.

Getting Started

These instructions will get you a copy of the project up and running on your machine.

Prerequisites

You will need to install melisplatform/melis-core in order to have this module running. This will automatically be done when using composer.

Installing

Run the composer command:

composer require melisplatform/melis-messenger

Database

Database model is accessible on the MySQL Workbench file: /melis-messenger/install/sql/model Database will be installed through composer and its hooks. In case of problems, SQL files are located here: /melis-messenger/install/sql

Tools & Elements provided

  • Messenger tab in the Profile section
  • Header icon to visualize the new messages

Running the code

MelisMessenger Services

  • MelisMessengerService Provides services to send and get messages

File: /melis-messenger/src/Service/MelisMessengerService.php

// Get the service
$messengerService = $this->getServiceManager()->get('MelisMessengerService');
// save datas of this page with an array of keys of the names of the table's columns
$convo_id = $messengerService->saveMsg(array(...));

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the OSL-3.0 License - see the LICENSE file for details


Screenshots  
  • etc/MarketPlace/images/melis-messenger_1.JPG
  Files folder image Files  
File Role Description
Files folder imageconfig (5 files)
Files folder imageetc (1 directory)
Files folder imageinstall (2 directories)
Files folder imagelanguage (2 files)
Files folder imagepublic (4 directories)
Files folder imagesrc (1 file, 4 directories)
Files folder imagetest (2 files, 1 directory)
Files folder imageview (2 directories)
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file app.forms.php Aux. Configuration script
  Accessible without login Plain text file app.interface.php Aux. Configuration script
  Accessible without login Plain text file app.tools.php Aux. Configuration script
  Accessible without login Plain text file diagnostic.config.php Aux. Configuration script
  Plain text file module.config.php Class Class source

  Files folder image Files  /  etc  
File Role Description
Files folder imageMarketPlace (1 file)

  Files folder image Files  /  etc  /  MarketPlace  
File Role Description
  Accessible without login Plain text file melis-messenger.xml Data Auxiliary data

  Files folder image Files  /  install  
File Role Description
Files folder imagedbdeploy (1 file)
Files folder imagesql (1 file)

  Files folder image Files  /  install  /  dbdeploy  
File Role Description
  Accessible without login Plain text file 1112618_melis_messenger_install.sql Data Auxiliary data

  Files folder image Files  /  install  /  sql  
File Role Description
  Accessible without login Plain text file setup_structure.sql Data Auxiliary data

  Files folder image Files  /  language  
File Role Description
  Accessible without login Plain text file en_EN.interface.php Aux. Configuration script
  Accessible without login Plain text file fr_FR.interface.php Aux. Configuration script

  Files folder image Files  /  public  
File Role Description
Files folder imagebuild (2 directories)
Files folder imagecss (1 file)
Files folder imagejs (1 directory)
Files folder imageplugins (2 files)

  Files folder image Files  /  public  /  build  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (1 file)

  Files folder image Files  /  public  /  build  /  css  
File Role Description
  Accessible without login Plain text file bundle.css Data Auxiliary data

  Files folder image Files  /  public  /  build  /  js  
File Role Description
  Accessible without login Plain text file bundle.js Data Auxiliary data

  Files folder image Files  /  public  /  css  
File Role Description
  Accessible without login Plain text file messenger-tool.css Data Auxiliary data

  Files folder image Files  /  public  /  js  
File Role Description
Files folder imagetools (1 file)

  Files folder image Files  /  public  /  js  /  tools  
File Role Description
  Accessible without login Plain text file messenger-tool.js Data Auxiliary data

  Files folder image Files  /  public  /  plugins  
File Role Description
  Accessible without login Plain text file tokenize2.min.css Data Auxiliary data
  Accessible without login Plain text file tokenize2.min.js Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageController (2 files)
Files folder imageForm (1 directory)
Files folder imageModel (1 file, 1 directory)
Files folder imageService (1 file)
  Plain text file Module.php Class Class source

  Files folder image Files  /  src  /  Controller  
File Role Description
  Plain text file MelisMessengerController.php Class Class source
  Plain text file MelisSetupController.php Class Class source

  Files folder image Files  /  src  /  Form  
File Role Description
Files folder imageFactory (1 file)

  Files folder image Files  /  src  /  Form  /  Factory  
File Role Description
  Plain text file MelisMessengerInputFactory.php Class Class source

  Files folder image Files  /  src  /  Model  
File Role Description
Files folder imageTables (3 files)
  Plain text file MelisMessenger.php Class Class source

  Files folder image Files  /  src  /  Model  /  Tables  
File Role Description
  Plain text file MelisMessengerMsgContentTable.php Class Class source
  Plain text file MelisMessengerMsgMembersTable.php Class Class source
  Plain text file MelisMessengerMsgTable.php Class Class source

  Files folder image Files  /  src  /  Service  
File Role Description
  Plain text file MelisMessengerService.php Class Class source

  Files folder image Files  /  test  
File Role Description
Files folder imageMelisMessengerTest (1 directory)
  Accessible without login Plain text file Bootstrap.php Example Example script
  Accessible without login Plain text file phpunit.xml Data Auxiliary data

  Files folder image Files  /  test  /  MelisMessengerTest  
File Role Description
Files folder imageController (1 file)

  Files folder image Files  /  test  /  MelisMessengerTest  /  Controller  
File Role Description
  Plain text file MelisMessengerControllerTest.php Class Class source

  Files folder image Files  /  view  
File Role Description
Files folder imagelayout (1 file)
Files folder imagemelis-messenger (2 directories)

  Files folder image Files  /  view  /  layout  
File Role Description
  Accessible without login Plain text file default.phtml Example Example script

  Files folder image Files  /  view  /  melis-messenger  
File Role Description
Files folder imagemelis-messenger (4 files)
Files folder imagemelis-setup (1 file)

  Files folder image Files  /  view  /  melis-messenger  /  melis-messenger  
File Role Description
  Accessible without login Plain text file header-messenger.phtml Example Example script
  Accessible without login Plain text file render-messenger-contact.phtml Example Example script
  Accessible without login Plain text file render-messenger-tool-content.phtml Example Example script
  Accessible without login Plain text file render-messenger.phtml Example Example script

  Files folder image Files  /  view  /  melis-messenger  /  melis-setup  
File Role Description
  Accessible without login Plain text file setup-form.phtml Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:20
This week:20
All time:11,249
This week:1Up