Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

MongoDB

298 sites Security covered
View on drupal.org

This module suite allows Drupal to use MongoDB as its primary database instead of a traditional SQL database. It offers improved performance for logging and key-value storage, simplifying development for projects that require MongoDB.

The MongoDB module suite for Drupal 10 stores data in MongoDB instead of the default Drupal SQL database.

For Drupal 11/10 site administrators

It means a faster Drupal and better logs, without a line of code.

  • it provides a more usable user interface to access logs, and a faster database logging than core, without the complexities associated with external logging mechanisms like the Elastic Stack (BELK).
  • it provides a faster implementation of the Drupal Key-Value store and Queue API
  • overall, it provides a simple way to reduce the load on your SQL database server, without needing complex configuration or having to write a single line of code.

For Drupal 11/10 project developers

It means easy project development using MongoDB.

  • A Drupal-standard API to access the features in the MongoDB library using database-style aliases, providing Symfony factory services to access MongoDB instances even on separate clusters from these aliases, just like standard Drupal SQL databases.
  • A PSR-3 implementation, available both as a Drupal standard backend for the centralized Drupal 10 logger system, and as a dedicated MongoDB-only logger for special situations
  • A MongoDB backend for the Drupal key-value API.
  • Helpers around the compatibility breaks in the MongoDB PHP library.
  • Troubleshooting and utility commands for both Drush 12 and 11, usable as examples to build bespoke commands.
  • A complete redacted documentation details each module, and includes an example test implementation to show how to write Unit, Kernel, and Functional tests that will set up and clear MongoDB databases automatically, just like those built for SQL code.

For Drupal 11/10 contributors

It also makes contribution easy.

  • Built on the current standard mongodb PHP extension and mongodb/mongodb high-level PHP library. No more Drupalisms: just dependency-injected Symfony code like one would find in a pure Symfony project.
  • Continuous integration built on Drupal GitlabCI allows testing of merge requests.
  • Live support is available on Drupal Slack #mongodb channel.

Which release should I use?

  • 8.x-2.1 for production or 8.x-2.x dev for leading edge
  • Drupal 10.x: 8.x-2.1 for production
  • Drupal 7.x : 7.x-1.0-rc3. But Drupal 7 practical EOL was on 2023-08-01, even if it still has some support until 2025-02-05

Full support Drupal on MongoDB

The 3.x branch is for the full support version of Drupal on MongoDB. No other database needed. EVerything is stored on MongoDB. The database driver is currently expirimental. It is for Drupal 11. The instructions on how to get installed with DDEV can be found in the added README.md file.

Unsupported versions

Activity

Total releases
7
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 7
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
3.1.6 Stable May 3, 2025
3.1.5 Stable Mar 21, 2025
3.1.4 Stable Mar 12, 2025
3.1.2 Stable Feb 12, 2025
3.1.1 Stable Feb 6, 2025
3.1.0 Stable Feb 4, 2025
3.0.0 Stable Jan 29, 2025