Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (19 sloc) 952 Bytes

mongoDB datasource for CakePHP


PHP5, pecl mongo (

Sample Code

Model files need to have primaryKey and _schema properties. primaryKey property have to be set "_id". Before you start, please check a model sample.

There are some sample controller actions: find,save,delete,deleteAll,updateAll


Yasushi Ichikawa (ichikaway)




Predominant : Cleanup code, add documentation

Jrbasso : Cleanup code


Reference code, Thank you!

Nate Abele's lithium mongoDB datasource

Joél Perras' divan

Jump to Line
Something went wrong with that request. Please try again.