MongoDB

MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters build applications…

  • Databases
  • Network Services
  • Other
  • Tools & Utilities
MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters build applications with dynamic schemas and scalable storage.

Platform availability

Available on 5 of 10 platforms

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

81/100 Excellent

Maintained
100last commit 4 days ago
Popular
8928,683 GitHub stars
Easy to install
554 install platforms, install notes
Light to run
502 GB minimum RAM

Availability: platform listings confirmed today, links checked 2 days ago

GitHub stars
28,683
Open issues
45
Last commit
2026-11-17
Activity
steady

Checked 4 days ago - source: GitHub (mongodb/mongo)

Resources & Compatibility

Minimum requirements: 2 GB RAM, 2 CPU core(s).

Checked 46 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install the PHP MongoDB extension first Install the PHP MongoDB extension using the command for your system (apt, Homebrew, PECL, or Docker). It is the driver that lets your app talk to MongoDB, and without it the app will fail with missing-extension errors. source
  • Add file packages for GridFS If you will use GridFS (MongoDB's way of storing files in the database), run the Composer commands to install the listed helper file packages. Without them, file operations can fail with a runtime exception. source
  • Running MongoDB Create the /data/db directory, start mongod, then connect with mongosh to the default localhost/test database. source
  • Run MongoDB Create the /data/db directory, start mongod, then connect with mongosh. source

Fetched yesterday - each note links to its source

Alternatives (12)

  • Apache Cassandra
  • CockroachDB - CockroachDB is a distributed SQL database for developers and operators of transactional applications that need horizontal scaling and resil…
  • CouchDB - CouchDB is a document-oriented NoSQL database with a RESTful HTTP/JSON interface for storing, querying, and synchronising JSON documents ac…
  • FerretDB - FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
  • KeyDB - KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept w…
  • Microsoft SQL Server - SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
  • MySQL Community Edition - Free GPL database platform supporting SQL and NoSQL applications with InnoDB storage, replication, clustering, connectors, and cross-platfo…
  • PostgreSQL - PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
  • RavenDB - RavenDB is an open-source, transactionally consistent document database that stores application data in flexible records, helping developer…
  • Redis - Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
  • SQLite - SQLite is a lightweight, embedded relational database engine that stores an entire database in a single file on your device.
  • SurrealDB - SurrealDB is a modern "all-in-one" database that stores and organises your app's information.

Checked 54 days ago - source: AlternativeTo

Common questions

How do I run a single MongoDB server from the distributed files?

Create the /data/db directory, start mongod, and connect with mongosh, which defaults to localhost and the test database.

What license applies to MongoDB versions released after October 16, 2018?

Releases after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License version 1. Earlier releases were published under the AGPL.

What must I install for a PHP or Laravel app to talk to MongoDB?

Install the PHP MongoDB extension first using apt, Homebrew, PECL, or Docker. Without that driver, the app fails with missing-extension errors.

What extra packages are needed when using GridFS with Laravel MongoDB?

Install the required helper file packages with Composer. Without them, file operations can fail with a runtime exception.

Where do I find instructions for a self-managed MongoDB deployment?

The self-managed deployments documentation provides installation and administration instructions, including installing a deployment and managing replica sets.

Answers sourced from github.com, github.com, github.com, www.mongodb.com

Community

Collected 48 days ago - public community threads