PHPackages                             yyc/pdo-plugin - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. yyc/pdo-plugin

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

yyc/pdo-plugin
==============

pdo-plugin

1.0.0(6y ago)03MITPHP

Since Jul 2Pushed 6y agoCompare

[ Source](https://github.com/FriendYang/esd-pdo)[ Packagist](https://packagist.org/packages/yyc/pdo-plugin)[ RSS](/packages/yyc-pdo-plugin/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

esd-pdo
=======

[](#esd-pdo)

**pdo 连接池**
基于esd框架使用，返回 pdo 链接对象
使用案例：

```
use ESDPDO\Pdo\GetPdo;
class Index extends Base
{
  use GetPdo;
      public function index3(){
        $rs = $this->pdo()->query("SELECT * FROM testdb..testtable");
        $row = $rs->fetchAll(\PDO::FETCH_ASSOC);
        var_dump($row);
        return $this->blade->render("app::wss");
      }
}

```

配置文件：

```
pdo:
 default:
    dsn: 'odbc:testdsn'
    user: 'test'
    password: '123456'

```

插件加载： 在 Application 引入PdoPlugin

```
$goApp = new GoApplication();
$goApp->addPlug(new PdoPlugin());
$goApp->run(Application::class);

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

2510d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/279dae77b8d56ae99d274f0a0db3b30d3ef0f7ca5b9a27d6bebff5d2ead294ee?d=identicon)[yyc](/maintainers/yyc)

---

Tags

serverswoole

### Embed Badge

![Health badge](/badges/yyc-pdo-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/yyc-pdo-plugin/health.svg)](https://phpackages.com/packages/yyc-pdo-plugin)
```

PHPackages © 2026

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