Skip to content

fourmation/mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fourmation - Mongo

The purpose of this module to create a mongodb mapper that is a straight replacement for the ZFCommons dbAbstract. This easily allows you to utilise MongoDb while still easily using entities, hydrators and mappers as well as exposing the native php client.

Installation

Added the following requirement to your projects composer.json file.

"fourmation/mongo": "0.1.0"

and run

php ./composer.phar update

Usage

You will need to copy the db.local.php.dist file to your /config/autoload folder and fill in your database details.

For an example implementation, please see my ZfcUser MongoDB Plugin.