PHPackages                             mapkyca/known-mongo-php-library - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. mapkyca/known-mongo-php-library

ActiveLibrary[Database &amp; ORM](/categories/database)

mapkyca/known-mongo-php-library
===============================

Known version of the mongo php libray, in its own repo since no versioned build in packageist seems to work

1.0.3(5y ago)012.4k↓33.3%11Apache-2.0PHPPHP &gt;=5.5

Since Jan 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mapkyca/known-mongo-php-library)[ Packagist](https://packagist.org/packages/mapkyca/known-mongo-php-library)[ RSS](/packages/mapkyca-known-mongo-php-library/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

MongoDB library for PHP
=======================

[](#mongodb-library-for-php)

\*\* This is the version of the driver that was used by the Known project c.2019/03/01, ported here since no version on packageist seems to be compatible \*\*

This library provides a high-level abstraction around the lower-level drivers for [PHP](https://github.com/mongodb/mongo-php-driver) and [HHVM](https://github.com/mongodb/mongo-hhvm-driver) (i.e. the `mongodb`extension).

While the extension provides a limited API for executing commands, queries, and write operations, this library implements an API similar to that of the [legacy PHP driver](http://php.net/manual/en/book.mongo.php). It contains abstractions for client, database, and collection objects, and provides methods for CRUD operations and common commands (e.g. index and collection management).

If you are developing an application with MongoDB, you should consider using this library, or another high-level abstraction, instead of the extension alone.

For further information about the architecture of this library and the `mongodb`extension, see:

-

Documentation
-------------

[](#documentation)

-

Installation
============

[](#installation)

As a high-level abstraction for the driver, this library naturally requires that the [`mongodb` extension be installed](http://mongodb.github.io/mongo-php-driver/#installation):

```
$ pecl install mongodb
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

```

The preferred method of installing this library is with [Composer](https://getcomposer.org/) by running the following from your project root:

```
$ composer require "mongodb/mongodb=^1.0.0"

```

Reporting Issues
----------------

[](#reporting-issues)

Please use the following form to report any issues:

- [https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12483&amp;issuetype=1](https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12483&issuetype=1)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1941d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b819f4bdf7f1a836be6ca2c32d8f8aadd59fae9d00c32f2cba5341809e6c436e?d=identicon)[mapkyca](/maintainers/mapkyca)

---

Top Contributors

[![mapkyca](https://avatars.githubusercontent.com/u/124070?v=4)](https://github.com/mapkyca "mapkyca (4 commits)")[![benwerd](https://avatars.githubusercontent.com/u/624104?v=4)](https://github.com/benwerd "benwerd (1 commits)")

---

Tags

knownmongo

### Embed Badge

![Health badge](/badges/mapkyca-known-mongo-php-library/health.svg)

```
[![Health](https://phpackages.com/badges/mapkyca-known-mongo-php-library/health.svg)](https://phpackages.com/packages/mapkyca-known-mongo-php-library)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[desarrolla2/cache

Provides an cache interface for several adapters Apc, Apcu, File, Mongo, Memcache, Memcached, Mysql, Mongo, Redis is supported.

1322.5M47](/packages/desarrolla2-cache)[mmucklo/queue-bundle

Symfony2/3/4/5 Queue Bundle (for background jobs) supporting Mongo (Doctrine ODM), Mysql (and any Doctrine ORM), RabbitMQ, Beanstalkd, Redis, and ... {write your own}

120839.8k](/packages/mmucklo-queue-bundle)[sokil/php-mongo

PHP Object Document Mapper for MongoDB

239161.5k9](/packages/sokil-php-mongo)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114542.8k6](/packages/apix-cache)[sonata-project/doctrine-mongodb-admin-bundle

Symfony Sonata / Integrate Doctrine MongoDB ODM into the SonataAdminBundle

68839.2k3](/packages/sonata-project-doctrine-mongodb-admin-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
