PHPackages                             amp/subrequestextra-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. amp/subrequestextra-bundle

AbandonedArchivedSymfony-bundle

amp/subrequestextra-bundle
==========================

A Symfony2 bundle to visually debug subrequests

61.6k1PHP

Since Mar 19Pushed 13y ago2 watchersCompare

[ Source](https://github.com/hubertperron/AmpSubrequestExtraBundle)[ Packagist](https://packagist.org/packages/amp/subrequestextra-bundle)[ RSS](/packages/amp-subrequestextra-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (1)

AmpSubrequestExtraBundle
========================

[](#ampsubrequestextrabundle)

This bundle add a way to graphically view each subrequests used on a single page. Subrequests are wrapped in a template container displaying additional information about the request.

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

[](#installation)

### Using the deps file

[](#using-the-deps-file)

```
[AmpSubrequestExtraBundle]
    git=http://github.com/hubertperron/AmpSubrequestExtraBundle.git
    target=/bundles/Amp/SubrequestExtraBundle

```

### Using composer

[](#using-composer)

```
{
    "require": {
        "amp/subrequestextra-bundle": "dev-master"
    }
}

```

### Add the bundle to your application kernel

[](#add-the-bundle-to-your-application-kernel)

```
// File: app/AppKernel.php
public function registerBundles()
{
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        // ...
        new Amp\SubrequestExtraBundle\AmpSubrequestExtraBundle();
    );
}
```

### Register namespace (Symfony 2.0.x)

[](#register-namespace-symfony-20x)

```
// File: app/autoload.php
$loader->registerNamespaces(array(
        // ...
        'Amp' => __DIR__.'/../vendor/bundles',
));
```

Configuration
-------------

[](#configuration)

```
amp_subrequest_extra:
    ignore_controllers:
        - AcmeDemoBundle:Welcome:index
        - AcmeDemoBundle:Example:list
```

Usage
-----

[](#usage)

Use the web debug toolbar icon to toggle the subrequests wrapper.

Example
-------

[](#example)

Without using parameters.

```
{% render 'LoremBundle:Generate:ExampleWithoutParameters' %}
```

[![without parameters](https://camo.githubusercontent.com/b12e84546e115de434ab84dbda0803b81de3fab377f8f2b742b3516b4a6dd12d/68747470733a2f2f7261772e6769746875622e636f6d2f687562657274706572726f6e2f416d7053756272657175657374457874726142756e646c652f6d61737465722f5265736f75726365732f646f632f776974686f75745f706172616d65746572732e706e67)](https://camo.githubusercontent.com/b12e84546e115de434ab84dbda0803b81de3fab377f8f2b742b3516b4a6dd12d/68747470733a2f2f7261772e6769746875622e636f6d2f687562657274706572726f6e2f416d7053756272657175657374457874726142756e646c652f6d61737465722f5265736f75726365732f646f632f776974686f75745f706172616d65746572732e706e67)

Using parameters.

```
{% render 'LoremBundle:Generate:ExampleWithParameters' with { id: 1, hash: '0a7254fc5', displayActive: true } %}
```

[![with parameters](https://camo.githubusercontent.com/8ff96f8cb1bd99a27b60b545224e3a4ec9fdae2945d6893265a369fe89eda6c1/68747470733a2f2f7261772e6769746875622e636f6d2f687562657274706572726f6e2f416d7053756272657175657374457874726142756e646c652f6d61737465722f5265736f75726365732f646f632f776974685f706172616d65746572732e706e67)](https://camo.githubusercontent.com/8ff96f8cb1bd99a27b60b545224e3a4ec9fdae2945d6893265a369fe89eda6c1/68747470733a2f2f7261772e6769746875622e636f6d2f687562657274706572726f6e2f416d7053756272657175657374457874726142756e646c652f6d61737465722f5265736f75726365732f646f632f776974685f706172616d65746572732e706e67)

Returning an empty response.

```
{% render 'LoremBundle:Generate:ExampleReturningEmptyResponse' %}
```

[![empty response](https://camo.githubusercontent.com/50b55d8920ba6f24b594ab30f3677e017e362aa534d8f11f429fd225eb48980d/68747470733a2f2f7261772e6769746875622e636f6d2f687562657274706572726f6e2f416d7053756272657175657374457874726142756e646c652f6d61737465722f5265736f75726365732f646f632f656d7074795f726573706f6e73652e706e67)](https://camo.githubusercontent.com/50b55d8920ba6f24b594ab30f3677e017e362aa534d8f11f429fd225eb48980d/68747470733a2f2f7261772e6769746875622e636f6d2f687562657274706572726f6e2f416d7053756272657175657374457874726142756e646c652f6d61737465722f5265736f75726365732f646f632f656d7074795f726573706f6e73652e706e67)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/60e70285f3672ac666f7e8e8a4115501a38c9a35c113f08edb915886f651849d?d=identicon)[hubertperron](/maintainers/hubertperron)

---

Top Contributors

[![hubertperron](https://avatars.githubusercontent.com/u/874403?v=4)](https://github.com/hubertperron "hubertperron (29 commits)")

### Embed Badge

![Health badge](/badges/amp-subrequestextra-bundle/health.svg)

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

PHPackages © 2026

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