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

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

auredg/laminas-db-profiler
==========================

A Laminas module to profile db queries using Laminas\\Db\\Adapter\\Profiler\\Profiler and write them to Laminas\\DeveloperTools toolbar.

0.3.1(5y ago)05.0k↓42.3%BSD-3-ClauseHTMLPHP &gt;=7.3

Since Apr 6Pushed 5y agoCompare

[ Source](https://github.com/auredg/laminas-db-profiler)[ Packagist](https://packagist.org/packages/auredg/laminas-db-profiler)[ Docs](https://github.com/auredg/laminas-db-profiler)[ RSS](/packages/auredg-laminas-db-profiler/feed)WikiDiscussions master Synced 1mo ago

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

Laminas Db Profiler
===================

[](#laminas-db-profiler)

A Laminas module to profile db queries using `\Laminas\Db\Adapter\Profiler\Profiler` and write them to Laminas\\DeveloperTools toolbar

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

---

Features
--------

[](#features)

- profiling db queries
- support multiple db connections

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

[](#dependencies)

- Laminas Db
- Laminas Developer Tools

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

[](#instalation)

- Add following line to your composer.json file `"auredg/laminas-db-profiler": "*"`
- run `composer update`
- Add module `LaminasDbProfiler` 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 `Laminas\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/laminas-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. Laminas\\Db\\Adapter\\Adapter is default

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Every ~367 days

Recently: every ~631 days

Total

8

Last Release

1852d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.3.0

0.3.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/15e98b12f5a2dedc9db391887ccb4a77ae37e17d2a3392e55da8d6873ad6b49a?d=identicon)[auredg](/maintainers/auredg)

---

Top Contributors

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

---

Tags

laminasprofilerdatabasemodule

### Embed Badge

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

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

###  Alternatives

[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/packages/doctrine-doctrine-orm-module)[doctrine/doctrine-module

Laminas Module that provides Doctrine basic functionality required for ORM and ODM modules

3957.9M116](/packages/doctrine-doctrine-module)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

86676.6k35](/packages/doctrine-doctrine-mongo-odm-module)[js/mysqlnd-bundle

The JSMysqlndBundle is an extension to the Symfony2 profiling toolbar. It extends the data collection with information gathered from PHP's mysqlnd database driver, giving more insight on the performance.

803.4k](/packages/js-mysqlnd-bundle)[zfc-datagrid/zfc-datagrid

Laminas Module that provides a datagrid for different datasources and output formats

1223.2k](/packages/zfc-datagrid-zfc-datagrid)

PHPackages © 2026

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