mongodb/mongo-php-library
The Official MongoDB PHP library observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 76
- age_days: 4290
- days_rel: 15
- days_push: 12
- n_releases_24m: 12
Adoption not part of the score
1612 stars · 264 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official high-level MongoDB PHP library built on top of the low-level mongodb PHP extension. It provides Client, Database, and Collection abstractions with a full-featured API for CRUD operations, index management, and common database commands.
Use cases
- connect to mongodb from php
- perform crud operations on mongodb collections in php
- manage mongodb indexes and collections from php
- use mongodb with a php web application
- query mongodb documents with a high-level php api
When to choose
- you are building a PHP application backed by MongoDB and want a full-featured driver API
- you need client, database, and collection abstractions beyond what the raw mongodb extension offers
- you want an officially supported, actively maintained MongoDB library for PHP
When to avoid
- your project does not use MongoDB as its database
- you only need the minimal command/query API and want to avoid the extra abstraction layer
- you are not using PHP or cannot install the required mongodb extension
Facets
library · maturity stable
database-driver database orm databases backend web-development php cross-platform mongodb nosql crud composer official-driver web-server
9 sources
- readme: https://github.com/mongodb/mongo-php-library · fetched 2026-08-28 · 2921b1e7eceb
- homepage: https://mongodb.com/docs/php-library/current/ · fetched 2026-08-29 · 14d7cd2e9999
- site_page: https://www.mongodb.com/docs/atlas · fetched 2026-08-29 · f312e042649e
- site_page: https://www.mongodb.com/docs/manual · fetched 2026-08-29 · 6a4548d2a71b
- site_page: https://www.mongodb.com/docs/tools-and-connectors · fetched 2026-08-29 · 7c907d21d3d3
- site_page: https://www.mongodb.com/docs/drivers · fetched 2026-08-29 · 194534c44bc5
- site_page: https://www.mongodb.com/docs/atlas/architecture/current/solutions-library · fetched 2026-08-29 · 0dfd723aadd5
- site_page: https://www.mongodb.com/company/newsroom · fetched 2026-08-29 · e3f69e7b7c0c
- site_page: https://www.mongodb.com/company/partners · fetched 2026-08-29 · 342527daf5e8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mongodb/mongo-php-library | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="mongodb/mongo-php-library")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem