colinmollenhour / magento-mongo

MongoDb abstraction layer and atomic job queue for Magento
Other
124 stars 50 forks source link

Cm_Mongo

NOTE: This is NOT a drop-in replacement for MySQL. It is intended only for use in implementing new models on MongoDb.

NOTE: PHP 7 Support

PHP 7 is not supported by the legacy 'mongo' extension and I currently have no plans to update this to use the new 'mongodb' extension which is not API compatible. I will happily accept a pull rquest though! :)

Description

This Magento extension is primarily two things:

See mongo.xml.sample and Job.php for more information.

Unit Testing

Cm_Mongo can be used with EcomDev_PhpUnit, but needs to override one of it's classes for fixtures with mongo collections to work. Add a module dependency on EcomDev_PhpUnit to Cm_Mongo.xml when using with EcomDev_PhpUnit.

License

Please see the terms defined in LICENSE.txt