ogogo / ogogo-zfc-user-pm
Private message system for ZfcUser
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ~5.4
- ogogo/ogogo-base: *
- rhumsaa/uuid: 2.*
- zendframework/zend-serializer: ~2.1
- zf-commons/zfc-user: *
Requires (Dev)
- codeclimate/php-test-reporter: 0.*
- phpunit/phpunit: ~4.0.0
- squizlabs/php_codesniffer: ~2.0.0@DEV
- zf-commons/zfc-user-doctrine-orm: ~1.0
Suggests
- zf-commons/zfc-user-doctrine-orm: ZF2 Doctrine ORM module for use with the Doctrine ORM mapper
This package is not auto-updated.
Last update: 2020-06-16 12:34:20 UTC
README
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.
- Create your custom mapper
- 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
- ZfcUserDoctrineORM For use with Doctrine mapper
Installation
With composer
-
Add this project composer.json:
"require": { "ogogo/ogogo-zfc-user-pm": "dev-master" }
-
Now tell composer to download the module by running the command:
$ php composer.phar update
-
Copy config/ogogo.zfcuser.pm.global.php.dist to your autoload folder (
config/autoload/
) -
Import the database schema into your database. A SQL schema is located in
data/schema.sql
-
Enable it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'Ogogo\ZfcUser\Pm' ), // ... );