PHPackages                             stefano/stefano-db-profiler - 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. stefano/stefano-db-profiler

Abandoned → [bjyoungblood/BjyProfiler](/?search=bjyoungblood%2FBjyProfiler)Library[Database &amp; ORM](/categories/database)

stefano/stefano-db-profiler
===========================

A ZF2, ZF3 module to profile db queries using Zend\\Db\\Adapter\\Profiler\\Profiler and write them to ZendDeveloperTools toolbar.

0.2.0(9y ago)415.7k2BSD-3-ClauseHTMLPHP &gt;=5.3.0

Since Apr 6Pushed 8y ago2 watchersCompare

[ Source](https://github.com/bartko-s/stefano-db-profiler)[ Packagist](https://packagist.org/packages/stefano/stefano-db-profiler)[ Docs](https://github.com/bartko-s/stefano-db-profiler)[ RSS](/packages/stefano-stefano-db-profiler/feed)WikiDiscussions master Synced 2mo ago

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

\[DEPRECATED\] Db Profiler
==========================

[](#deprecated-db-profiler)

This library is NOT MAINTAINED anymore please use [bjyoungblood/BjyProfiler ](https://github.com/bjyoungblood/BjyProfiler) instead.

Dependencies[![Dependency Status](https://camo.githubusercontent.com/c22b91e818f487bd770a78a9f777e287deb0b502ed17a33914e2d684092cea03/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535323661623438326365643466366466643030303063612f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/5526ab482ced4f6dfd0000ca)A ZF2, ZF3 module to profile db queries using `\Zend\Db\Adapter\Profiler\Profiler` and write them to ZendDeveloperTools toolbar

[![Db Profiler](./doc/images/snapshot.png)](./doc/images/snapshot.png)

---

Features
--------

[](#features)

- profiling db queries
- support multiple db connections

Dependencies
------------

[](#dependencies)

- Zend Framework 2 or Zend Framework 3
- Zend Developer Tools

Instalation
-----------

[](#instalation)

- Add following line to your composer.json file `"stefano/stefano-db-profiler": "*"`
- run `composer update`
- Add module `StefanoDbProfiler` to your application.config.php
- Enable profiler for your Db Adapter or Adapters

```
'db' => array(
    'driver' => 'Pdo_Mysql',
    'database' => 'db',
    'username' => 'username',
    'password' => 'pass',
    'profiler' => true, //this line enable db profiler
)

```

- Library uses `Zend\Db\Adapter\Adapter` service key. If you are uses different key for your Db Adapter you must set it by configuration options.

Options
-------

[](#options)

Configuration options are available in `config/stefano.db.profiler.global.php.dist` file. If you want to change the default ones, copy it in your `config/autoload` directory, remove the `.dist` extension and edit it.

Options available :

- dbAdapterServiceManagerKey : List of all Db Adapter service manager keys which you want to profile. Zend\\Db\\Adapter\\Adapter is default

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

Every ~194 days

Recently: every ~242 days

Total

6

Last Release

3445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12da8e2ce2685d50df256c7d302dff9de0eeab90057103170ec1c840d26eed19?d=identicon)[Stefano123](/maintainers/Stefano123)

---

Top Contributors

[![bartko-s](https://avatars.githubusercontent.com/u/675883?v=4)](https://github.com/bartko-s "bartko-s (24 commits)")[![tomasfejfar](https://avatars.githubusercontent.com/u/642928?v=4)](https://github.com/tomasfejfar "tomasfejfar (1 commits)")

---

Tags

profilerdatabasemodulezf2zf3

### Embed Badge

![Health badge](/badges/stefano-stefano-db-profiler/health.svg)

```
[![Health](https://phpackages.com/badges/stefano-stefano-db-profiler/health.svg)](https://phpackages.com/packages/stefano-stefano-db-profiler)
```

###  Alternatives

[tawfekov/zf2entityaudit

EntityAudit Module for Zend Framework2 , Doctrine2 and web interface

1910.4k](/packages/tawfekov-zf2entityaudit)

PHPackages © 2026

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