PHPackages                             ogogo/ogogo-zfc-user-pm - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ogogo/ogogo-zfc-user-pm

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ogogo/ogogo-zfc-user-pm
=======================

Private message system for ZfcUser

015JavaScript

Since Apr 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Ogogo/OgogoZfcUserPm)[ Packagist](https://packagist.org/packages/ogogo/ogogo-zfc-user-pm)[ RSS](/packages/ogogo-ogogo-zfc-user-pm/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

basic private messages

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
-------------

[](#functionality)

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

Requirements
------------

[](#requirements)

#### Hard

[](#hard)

- PHP 5.4
- [OgogoBase](https://github.com/Ogogo/OgogoBase)
- [ZfcUser](https://github.com/ZF-Commons/ZfcUser)

#### Soft

[](#soft)

- [ZfcUserDoctrineORM](https://github.com/ZF-Commons/ZfcUserDoctrineORM) For use with Doctrine mapper

Installation
------------

[](#installation)

#### With composer

[](#with-composer)

1. Add this project composer.json:

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

    ```
    $ php composer.phar update
    ```
3. Copy config/ogogo.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.

    ```
