All Projects → leroy-merlin-br → Mongolid

leroy-merlin-br / Mongolid

Licence: mit
Easy, powerful and ultrafast ODM for PHP and MongoDB

Labels

Projects that are alternatives of or similar to Mongolid

Mongoose Patch History
Mongoose plugin that saves a history of JSON patch operations for all documents belonging to a schema in an associated 'patches' collection
Stars: ✭ 82 (-7.87%)
Mutual labels:  mongodb
Angular Full Stack
Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.
Stars: ✭ 1,261 (+1316.85%)
Mutual labels:  mongodb
Go Sniffer
🔎Sniffing and parsing mysql,redis,http,mongodb etc protocol. 抓包截取项目中的数据库请求并解析成相应的语句。
Stars: ✭ 1,281 (+1339.33%)
Mutual labels:  mongodb
Node Mongodb Fixtures
🍏 Setup and tear down test fixtures with MongoDB.
Stars: ✭ 83 (-6.74%)
Mutual labels:  mongodb
Spring Boot Mongodb Angular Todo App
A Sample App built using Spring Boot, Angular and MongoDB
Stars: ✭ 84 (-5.62%)
Mutual labels:  mongodb
React Ssr Boilerplate
A boilerplate for server-side rendered React Applications. Includes local auth and GitHub Oauth 2 strategies.
Stars: ✭ 85 (-4.49%)
Mutual labels:  mongodb
Authenticationintro
Stars: ✭ 82 (-7.87%)
Mutual labels:  mongodb
Easy Notes
🍋 简笔记(easy notes)打造你的轻便私人笔记。接口涉及Spring Security、OAuth2、Jwt、MongoDB,客户端采用 Vue.js 、Ant Design
Stars: ✭ 89 (+0%)
Mutual labels:  mongodb
Spring Data Mongodb
Provide support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
Stars: ✭ 1,253 (+1307.87%)
Mutual labels:  mongodb
Spring 5 Examples
This repository is contains spring-boot 2 / spring framework 5 project examples. Using reactive programming model / paradigm and Kotlin
Stars: ✭ 87 (-2.25%)
Mutual labels:  mongodb
Bson
Native Swift library for BSON (http://bsonspec.org)
Stars: ✭ 83 (-6.74%)
Mutual labels:  mongodb
Swiftcode
Multiplayer, interactive, realtime typing speed game
Stars: ✭ 83 (-6.74%)
Mutual labels:  mongodb
Blogreworkpro
Rework the BlogRework, a SEO friendly SPA, build with flask, react, redux, mongodb...
Stars: ✭ 86 (-3.37%)
Mutual labels:  mongodb
Nodejs Imgshare
A social App using Nodejs and Javascript technologies to Share Images
Stars: ✭ 83 (-6.74%)
Mutual labels:  mongodb
Vue Node Mongodb
vue+express+mongodb+阿里云部署上线, 前后端分离博客
Stars: ✭ 88 (-1.12%)
Mutual labels:  mongodb
Koa Ts
koa2+typescript
Stars: ✭ 82 (-7.87%)
Mutual labels:  mongodb
Boilerplate Vue Apollo Graphql Mongodb
Start your magical stack journey!
Stars: ✭ 85 (-4.49%)
Mutual labels:  mongodb
Nodejs Backend Architecture Typescript
Node.js Backend Architecture Typescript - Learn to build a backend server for Blogging platform like Medium, FreeCodeCamp, MindOrks, AfterAcademy - Learn to write unit and integration tests - Learn to use Docker image - Open-Source Project By AfterAcademy
Stars: ✭ 1,292 (+1351.69%)
Mutual labels:  mongodb
Distributed Multi User Scrapy System With A Web Ui
Django based application that allows creating, deploying and running Scrapy spiders in a distributed manner
Stars: ✭ 88 (-1.12%)
Mutual labels:  mongodb
Dataengineeringproject
Example end to end data engineering project.
Stars: ✭ 82 (-7.87%)
Mutual labels:  mongodb

Mongolid ODM for MongoDB (PHP7)

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

Mongolid

Mongolid supports both ActiveRecord and DataMapper patterns. You choose! (:

Codacy Badge StyleCI Latest Stable Version Total Downloads Latest Unstable Version License

SensioLabsInsight

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.

Installation

You can install library through Composer:

$ composer require leroy-merlin-br/mongolid

Requirements

Note: If you are looking for the old PHP 5.x version, head to the v0.8 branch.

Read the Docs: leroy-merlin-br.github.com/mongolid

Mongolid Docs

Troubleshooting

"PHP Fatal error: Class 'MongoDB\Client' not found in ..."

The MongoDB\Client class is contained in the new MongoDB driver for PHP. Here is an installation guide. The driver is a PHP extension written in C and maintained by MongoDB. Mongolid and most other MongoDB PHP libraries utilize it in order to be fast and reliable.

"Class 'MongoDB\Client' not found in ..." in CLI persists even with MongoDB driver installed.

Make sure that the php.ini file used in the CLI environment includes the MongoDB extension. In some systems, the default PHP installation uses different .ini files for the web and CLI environments.

Run php -i | grep 'Configuration File' in a terminal to check the .ini that is being used.

To check if PHP in the CLI environment is importing the driver properly run php -i | grep -i 'mongo' in your terminal. You should get output similar to:

$ php -i | grep -i 'mongo'
MongoDB support => enabled
MongoDB extension version => 1.2.8
MongoDB extension stability => stable
libmongoc bundled version => 1.5.5

"This package requires php >=7.0 but your PHP version (X.X.X) does not satisfy that requirement."

The new (and improved) version 2.0 of Mongolid requires php7. If you are looking for the old PHP 5.x version, head to the v0.8 branch.

License

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

Additional information

Mongolid was proudly built by the Leroy Merlin Brazil team. See all the contributors.

Any questions, feel free to contact us.

Any issues, please report here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].