Easy, powerful and ultrafast ODM for PHP 7.1+ 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.
- PHP 7.1 or superior
- MongoDB Driver
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.
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.