PHPackages                             bananabb/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. bananabb/cakephp-mongodb

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

bananabb/cakephp-mongodb
========================

MongoDB Datasource for CakePHP

2.3.0(8y ago)030MITPHPPHP &gt;=5.3.0

Since Dec 26Pushed 8y agoCompare

[ Source](https://github.com/BananaBb/cakephp-mongodb)[ Packagist](https://packagist.org/packages/bananabb/cakephp-mongodb)[ Docs](https://github.com/BananaBb/cakephp-mongodb)[ RSS](/packages/bananabb-cakephp-mongodb/feed)WikiDiscussions cake.2.3 Synced 3d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

mongoDB datasource for CakePHP (Abandon Project)
================================================

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

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

IMPORTANT
---------

[](#important)

Sorry. This project is no longer maintained!

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

[](#requirements)

- PHP5
- CakePHP &gt;= 2.2.5
- 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/BananaBb/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/BananaBb/cakephp-mongodb.git Mongodb

```

### composer

[](#composer)

This plugin on the Packagist.

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

[](#sample-code)

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

```
