https://github.com/devjack/mongo
MongoDB Abstract based on zfCommons
https://github.com/devjack/mongo
Last synced: 9 months ago
JSON representation
MongoDB Abstract based on zfCommons
- Host: GitHub
- URL: https://github.com/devjack/mongo
- Owner: devjack
- Created: 2013-07-20T04:42:15.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-20T04:43:30.000Z (over 12 years ago)
- Last Synced: 2025-01-30T15:49:31.691Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aaron4m - 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.
```php
"aaron4m/zf2-mongo": "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 ZfcUser MongoDB Plugin.