PHPackages                             nkt/silex-pdo-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. [Database &amp; ORM](/categories/database)
4. /
5. nkt/silex-pdo-provider

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

nkt/silex-pdo-provider
======================

Silex provider for PDO

v1.0(12y ago)048MITPHP

Since Apr 20Pushed 12y agoCompare

[ Source](https://github.com/nkt/silex-pdo-provider)[ Packagist](https://packagist.org/packages/nkt/silex-pdo-provider)[ RSS](/packages/nkt-silex-pdo-provider/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Silex PDO Service Provider
==========================

[](#silex-pdo-service-provider)

[![Build Status](https://camo.githubusercontent.com/491ce0d7afab4df6b09658b3ab847bfe55750277cb9c3100f7179fbcd9669e05/68747470733a2f2f7472617669732d63692e6f72672f6e6b742f73696c65782d70646f2d70726f76696465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nkt/silex-pdo-provider)

Silex provider for PDO

Usage
-----

[](#usage)

```
$app->register(new \Silex\Provider\PDOServiceProvider, array(
  'pdo.dsn'        => 'mysql:host=localhost;dbname=foobar', // sqlite::memory: by default
  'pdo.username'   => 'nkt', // null by default
  'pdo.password'   => 'hello world', // null by default
  'pdo.attributes' => array(), // empty array by default
  'pdo.class_name' => 'MyCustomPDOClass' // PDO by default
));
```

License
-------

[](#license)

MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

4402d ago

### Community

Maintainers

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

---

Tags

pdoprovidersilex

### Embed Badge

![Health badge](/badges/nkt-silex-pdo-provider/health.svg)

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

###  Alternatives

[csanquer/pdo-service-provider

a PDO database service provider for silex

19199.0k](/packages/csanquer-pdo-service-provider)[dbtlr/silex-doctrine-migrations

Doctrine migration service provider for Silex

1123.8k1](/packages/dbtlr-silex-doctrine-migrations)[moriony/silex-mongo-provider

Mongo service provider for the Silex framwork.

118.5k](/packages/moriony-silex-mongo-provider)

PHPackages © 2026

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