zf-hipsters / mongo-adapter
There is no license information available for the latest version (v1.0.0) of this package.
MongoDB Abstract based on zfCommons
v1.0.0
2013-12-01 03:43 UTC
Requires
- php: >=5.3.3
- zendframework/zendframework: ~2.2
- zf-commons/zfc-base: 0.*
This package is auto-updated.
Last update: 2024-11-05 18:08:39 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.
"zf-hipsters/mongo-adapter": "dev-master"
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 @aaronweatheralls ZfcUser MongoDB Plugin.