PHPackages                             getme/mongodb-silex-provider - 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. getme/mongodb-silex-provider

ActiveLibrary

getme/mongodb-silex-provider
============================

MongoDB provider for Silex

02311PHP

Since Dec 14Pushed 13y ago1 watchersCompare

[ Source](https://github.com/getme/mongodb-silex-provider)[ Packagist](https://packagist.org/packages/getme/mongodb-silex-provider)[ RSS](/packages/getme-mongodb-silex-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MongoDB provider for Silex
==========================

[](#mongodb-provider-for-silex)

Installation
------------

[](#installation)

### Add to `composer.json`

[](#add-to-composerjson)

```
"getme/mongodb-silex-provider": "dev-master"
```

### Register

[](#register)

```
$app->register(new Sfk\Silex\Provider\MongoDBServiceProvider(), array(
    'mongodb.server' => 'mongodb://username:password@localhost:27017/mydatabase',
    'mongodb.options' => array(
    ),
));
```

Connection options explanation at

Additional options:

- `mongodb.client_class` - Base class name (default: \\MongoClient) see example below.

```
class  MyMongoClient extends \MongoClient {
    // some useful methods
}

$app->register(new Sfk\Silex\Provider\MongoDBServiceProvider(), array(
    // as above
    'mongodb.client_class' => 'MyMongoClient'
));
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![getme](https://avatars.githubusercontent.com/u/1050825?v=4)](https://github.com/getme "getme (5 commits)")

### Embed Badge

![Health badge](/badges/getme-mongodb-silex-provider/health.svg)

```
[![Health](https://phpackages.com/badges/getme-mongodb-silex-provider/health.svg)](https://phpackages.com/packages/getme-mongodb-silex-provider)
```

PHPackages © 2026

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