Easy, powerful and ultrafast ODM for PHP and MongoDB.

v4.0.0-beta 2022-02-18 12:17 UTC



Continuous Integration 68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6264646132643965613365393431343139343661663962616432646131613039 68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f6264646132643965613365393431343139343661663962616432646131613039 Latest Stable Version Total Downloads License

About Mongolid

Easy, powerful and ultrafast ODM for PHP 8.0+ build on top of the new mongodb driver.

Mongolid supports ActiveRecord pattern.


Mongolid ODM (Object Document Mapper) provides a beautiful, simple implementation for working with MongoDB. Each database collection can have a corresponding "Model" which is used to interact with that collection.

Note: If you are working with Laravel, take a look at mongolid-laravel repository.



You can install the library through Composer:

$ composer require leroy-merlin-br/mongolid


You can access the full documentation here.


Mongolid is free software distributed under the terms of the MIT license.

Additional information

Made with ❤ by Leroy Merlin Brazil and all contributors.

If you have any questions, feel free to contact us.

If you have any issues, please report here.