Skip to content

Eye4web/Eye4webZfcUserPm

Repository files navigation

Eye4webZfcUserPm

Build Status Code Climate Test Coverage Latest Stable Version Latest Unstable Version Total Downloads License

Introduction

Eye4webZfcUserPm is a basic private message module which allows for sending of messages between users.

By default this module works with Doctrine ORM(through the DoctrineORM mapper). It's very easy to add your own mapper, ZendDb for example.

  1. Create your custom mapper
  2. Change the mapper in the config, to point to your custom mapper

Note: This module is meant to be very basic and only contain very basic, common, functionality. More functionality will be available through extensions, please see below.

Functionality

  • Send messages between users
  • Group conversations
  • Delete conversations(not deleted from database, only from user)

Requirements

Hard

Soft

Installation

With composer

  1. Add this project composer.json:

    "require": {
        "eye4web/eye4web-zfc-user-pm": "dev-master"
    }
  2. Now tell composer to download the module by running the command:

    $ php composer.phar update
  3. Copy config/eye4web.zfcuser.pm.global.php.dist to your autoload folder (config/autoload/)

  4. Import the database schema into your database. A SQL schema is located in data/schema.sql

  5. Enable it in your application.config.php file.

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\ZfcUser\Pm'
        ),
        // ...
    );

Extensions