fourmation/mongo

There is no license information available for the latest version (v0.1.0) of this package.

MongoDB Abstract based on zfCommons

v0.1.0 2014-04-07 08:44 UTC

This package is not auto-updated.

Last update: 2024-04-08 13:15:00 UTC


README

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.