An open API service indexing awesome lists of open source software.

https://github.com/leroy-merlin-br/mongolid

Easy, powerful and ultrafast ODM for PHP and MongoDB
https://github.com/leroy-merlin-br/mongolid

hacktoberfest mongodb odm php

Last synced: about 2 months ago
JSON representation

Easy, powerful and ultrafast ODM for PHP and MongoDB

Awesome Lists containing this project

README

        

![Mongolid](https://user-images.githubusercontent.com/1991286/28967747-fe5c258a-78f2-11e7-91c7-8850ffb32004.png)

[![Continuous Integration](https://github.com/leroy-merlin-br/mongolid/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/leroy-merlin-br/mongolid/actions/workflows/continuous-integration.yml)


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](https://docs.mongodb.org/ecosystem/drivers/php/).

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](https://github.com/leroy-merlin-br/mongolid-laravel).

## Requirements
- PHP **8.0** or superior
- [MongoDB Driver](http://php.net/manual/en/set.mongodb.php)

## Installation
You can install the library through Composer:

```
$ composer require leroy-merlin-br/mongolid
```

## Documentation
You can access the full documentation [here](http://leroy-merlin-br.github.io/mongolid).

## License
Mongolid is free software distributed under the terms of the [MIT license](LICENSE).

## Additional information
Made with ❤ by [Leroy Merlin Brazil](https://github.com/leroy-merlin-br) and [all contributors](https://github.com/leroy-merlin-br/mongolid/graphs/contributors).

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

If you have any issues, please [report here](https://github.com/leroy-merlin-br/mongolid/issues).