PHPackages                             async/amp-sql-profiler-bundle - 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. async/amp-sql-profiler-bundle

ActiveSymfony-bundle

async/amp-sql-profiler-bundle
=============================

Amp SQL profiler for Symfony WebProfilerBundle.

1.3.2(11mo ago)0326↓100%PHPPHP ^8.2

Since Dec 29Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/ScriptFUSION/Amp-SQL-profiler-bundle)[ Packagist](https://packagist.org/packages/async/amp-sql-profiler-bundle)[ RSS](/packages/async-amp-sql-profiler-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Amp SQL profiler bundle
=======================

[](#amp-sql-profiler-bundle)

If you use [Amp](https://amphp.org) with [Symfony](https://symfony.com) then you are probably based, but that means [Doctrine](https://www.doctrine-project.org) will be useless (except perhaps its query builder), so you can't use the handy query profiler from [DoctrineBundle](https://github.com/doctrine/DoctrineBundle). This is the missing SQL profiler for Amp.

Features
--------

[](#features)

Profiles Amp SQL connections in Symfony applications and displays the results in the [Symfony Profiler](https://symfony.com/doc/current/profiler) toolbar.

- Shows query summary in toolbar view.
- Shows full query details in profiler view.
- Supports transactions.
- Supports backtraces.

### Limitations

[](#limitations)

Using an unsupported feature may throw `NotImplementedException`.

- Does not support prepared statements.
- Does not support transaction save points.

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

[](#installation)

Add the bundle to your project with [Composer](https://getcomposer.org).

```
composer require --dev async/amp-sql-profiler-bundle
```

If [Symfony Flex](https://symfony.com/doc/current/setup/flex) is installed, it should update `bundles.php` automatically with a line similar to the following.

```
ScriptFUSION\AmpSqlProfilerBundle\AmpSqlProfilerBundle::class => ['dev' => true, 'test' => true],
```

We recommend removing the `'test'` key and only running the bundle in `dev`. If Flex is not available, the line can be added manually.

To enable profiling, all instances of `Amp\Sql\Pool` must be replaced with `ProfiledPool` at dependency injection time. To do this, add the following line to `services_dev.yaml`.

```
  # Enable Amp SQL profiling.
  Amp\Sql\Pool:
    factory: '@ScriptFUSION\AmpSqlProfilerBundle\ProfiledPoolFactory'
```

Unfortunately, this will create a circular reference because `ProfiledPoolFactory` creates an instance of `ProfiledPool` which requires an instance of `Amp\Sql\Pool`. This can be resolved by specifying the specific implementation of the Pool that we want to profile. For example, the following configuration may suffice to profile Postgres.

```
  ScriptFUSION\AmpSqlProfilerBundle\ProfiledPool:
    arguments:
      - '@Amp\Postgres\PostgresConnectionPool'

  Amp\Postgres\PostgresConnectionPool: ~
```

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance54

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~102 days

Recently: every ~128 days

Total

6

Last Release

349d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/470626?v=4)[Bilge](/maintainers/Bilge)[@Bilge](https://github.com/Bilge)

---

Top Contributors

[![Bilge](https://avatars.githubusercontent.com/u/470626?v=4)](https://github.com/Bilge "Bilge (16 commits)")

### Embed Badge

![Health badge](/badges/async-amp-sql-profiler-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/async-amp-sql-profiler-bundle/health.svg)](https://phpackages.com/packages/async-amp-sql-profiler-bundle)
```

###  Alternatives

[symfony/profiler-pack

A pack for the Symfony web profiler

1.7k28.5M145](/packages/symfony-profiler-pack)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.7k3.7M388](/packages/pimcore-pimcore)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[scriptfusion/porter

Scalable and durable data import for publishing and consuming APIs.

613138.9k14](/packages/scriptfusion-porter)[amphp/mysql

Asynchronous MySQL client for PHP based on Amp.

3761.1M27](/packages/amphp-mysql)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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