leroy-merlin-br / mongolid
Easy, powerful and ultrafast ODM for PHP and MongoDB.
Installs: 31 066
Dependents: 3
Suggesters: 0
Security: 0
Stars: 109
Watchers: 25
Forks: 27
Open Issues: 20
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.
- v4.0.0-beta
- v3.x-dev
- v3.7
- v3.6
- v3.5
- v3.4
- v3.3-beta2
- v3.3-beta
- v3.2.0
- v3.1.2
- v3.1.1
- v3.1.0
- v2.x-dev
- v2.4.0
- v2.3.1
- v2.3.0
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- V2.1.1
- v2.1.0
- v2.0.1
- v2.0.0
- v2.0.0-beta13
- v2.0.0-beta12
- v2.0.0-beta11
- v2.0.0-beta10
- v2.0.0-beta9
- v2.0.0-beta8
- v2.0.0-beta7
- v2.0.0-beta6
- v2.0.0-beta5
- v2.0.0-beta4
- v2.0.0-beta3
- v2.0.0-beta2
- v2.0.0-beta
- v0.8.1
- v0.8.0
- v0.5.8
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.5beta
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- dev-refactor/change-types-and-annotations-3
- dev-feat/add-phpcs-and-rector
- dev-refactor/change-types-and-annotations-4
- dev-chore/code-standard
- dev-chore/code-standard-2
- dev-chore/improve-abstract-model-casts
- dev-feat/add-enum-casts
- dev-feat/add-custom-cast
- dev-dependabot/npm_and_yarn/docs/babel/traverse-7.23.2
- dev-chore/contextualize-models-attributes
- dev-dependabot/npm_and_yarn/docs/postcss-8.4.31
- dev-feat/eager-loading-foreign-keys
- dev-fix/clean-null-values
- dev-refactor/fix-signatures
- dev-chore/mongolid-migration-v4-remove-data-mapper
- dev-chore/mongolid-migration-v1
- dev-feat/v3-branch
- dev-master / 4.0.x-dev
This package is auto-updated.
Last update: 2024-10-14 21:06:03 UTC
README
About Mongolid
Easy, powerful and ultrafast ODM for PHP 8.0+ 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 8.0 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.