rework-devs / mongolid
Easy, powerful and ultrafast ODM for PHP and MongoDB.
Requires
- php: >=7.3
- ext-mongodb: *
- illuminate/container: ^5.4 || ^6.0 || ^7.0 || ^8.0
- illuminate/support: ^5.4 || ^6.0 || ^7.0 || ^8.0
- mongodb/mongodb: 1.8.0
Requires (Dev)
- leroy-merlin-br/coding-standard: ^1.0
- mockery/mockery: ^1.2
- phpunit/phpunit: ^7.0 || ^8.0 || ^9.0
Suggests
- leroy-merlin-br/mongolid-laravel: Easy, powerful and ultrafast MongoDB ODM for Laravel.
This package is auto-updated.
Last update: 2024-06-17 20:40:13 UTC
README
About Mongolid
Easy, powerful and ultrafast ODM for PHP 7.1+ build on top of the new mongodb driver.
Mongolid supports ActiveRecord pattern.
Introduction
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.
Requirements
- PHP 7.1 or superior
- MongoDB Driver
Installation
You can install the library through Composer:
$ composer require leroy-merlin-br/mongolid
Documentation
You can access the full documentation here.
License
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.
