PHPackages                             radig/cakephp-mongodb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. radig/cakephp-mongodb

AbandonedCakephp-plugin[Database &amp; ORM](/categories/database)

radig/cakephp-mongodb
=====================

MongoDB datasource for CakePHP forked from github.com/ichikaway/cakephp-mongodb by Yasushi Ichikawa (ichikaway), Andy Dawson (AD7six)

4181PHP

Since Feb 26Pushed 11y ago6 watchersCompare

[ Source](https://github.com/radig/cakephp-mongodb)[ Packagist](https://packagist.org/packages/radig/cakephp-mongodb)[ RSS](/packages/radig-cakephp-mongodb/feed)WikiDiscussions cake2.2 Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

mongoDB datasource for CakePHP
==============================

[](#mongodb-datasource-for-cakephp)

[![Build Status](https://camo.githubusercontent.com/e4094d1f423e963fa3e9c9ab953f6cbe80e52125556002f4c32cbabecb336a74/68747470733a2f2f7472617669732d63692e6f72672f696368696b617761792f63616b657068702d6d6f6e676f64622e706e673f6272616e63683d63616b65322e32)](https://travis-ci.org/ichikaway/cakephp-mongodb)

Requirements
------------

[](#requirements)

PHP5, pecl mongo ()

Installation
------------

[](#installation)

this repository should be installed in the same way as any other plugin.

To install the driver for use in a single application:

```
cd my/app/Plugin
git clone git://github.com/ichikaway/cakephp-mongodb.git Mongodb

```

To install the driver for use in any/multiple application(s)

```
# where ROOT is the name of the directory parent to the base index.php of CakePHP.
cd ROOT/Plugin
git clone git://github.com/ichikaway/cakephp-mongodb.git Mongodb

```

Sample Code
-----------

[](#sample-code)

To use this DB driver, install (obviously) and define a db source such as follows:

```
