PHPackages                             themming/httpcapturebundle - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. themming/httpcapturebundle

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

themming/httpcapturebundle
==========================

Symfony bundle to capture http request and response data in your logs.

v1.5(14y ago)011MITPHPPHP &gt;=5.3.2

Since Jun 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/THemming/HttpCaptureBundle)[ Packagist](https://packagist.org/packages/themming/httpcapturebundle)[ RSS](/packages/themming-httpcapturebundle/feed)WikiDiscussions master Synced today

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

HTTP Capture Bundle
===================

[](#http-capture-bundle)

[![Build Status](https://camo.githubusercontent.com/2d518e05e60e1afd57c274e779088ef3710b52399d418d9313205ee78d3abdb7/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f5448656d6d696e672f487474704361707475726542756e646c652e706e67)](http://travis-ci.org/THemming/HttpCaptureBundle)

A Symfony2 bundle that logs HTTP request and response information for debugging proposes. It can be switched on and off at will to help track down errors.

This bundle was initially developed to help analyse REST web service interaction. The captured information is sent to the application logger (Monolog) over the channel "http\_capture". With Symfony 2.0 all logging messages are directed to all message handlers. Symfony 2.1 will resolve this issue and it will be simple for all messages on the http\_capture channel to be directed to a dedicated logging handler (file, database, monitoring system, etc...)

Install &amp; Configuration
---------------------------

[](#install--configuration)

These instruction are for Symfony 2.0.x.

Add this repo to you `deps` file:

```
[HttpCaptureBundle]
  git=http://github.com/THemming/HttpCaptureBundle.git
  target=/bundles/THemming/HttpCaptureBundle

```

Run `./bin/vendors install`

Add to `AppKernel.php` in the `registerBundles()` function:

```
new THemming\HttpCaptureBundle\HttpCaptureBundle(),
```

Add to `autoload.php`:

```
'THemming'           => __DIR__.'/../vendor/bundles',
```

Configure parameters for your application, e.g. `config.yml`, `config_prod.yml`, etc:

```
http_capture:
    enabled:  1
    max_length: 1000
```

Of course these values can be set as parameters for the `parameters.ini` file by setting them to something like:

```
http_capture:
    enable: %http_capture_enable%
    max_length: %http_capture_max_length%
```

TODO
----

[](#todo)

- Write tests and add to TravisCI.
- Additional capture info: security, time taken to service request, memory usage, form-encoded data, truncated multipart data.
- Symfony 2.1 branch. Add composer definition and setup automated packagist deployment.
- Test performance with large request/responses.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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 ~24 days

Total

2

Last Release

5112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f90cc058bd4337f5b16708392877e4417eedd718e7fee24d892f30fc9f6b1d63?d=identicon)[timhemming](/maintainers/timhemming)

---

Top Contributors

[![THemming](https://avatars.githubusercontent.com/u/467661?v=4)](https://github.com/THemming "THemming (26 commits)")

### Embed Badge

![Health badge](/badges/themming-httpcapturebundle/health.svg)

```
[![Health](https://phpackages.com/badges/themming-httpcapturebundle/health.svg)](https://phpackages.com/packages/themming-httpcapturebundle)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.5k](/packages/laravel-framework)[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k198.8M329](/packages/symfony-monolog-bridge)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M528](/packages/shopware-core)[open-dxp/opendxp

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

9417.2k58](/packages/open-dxp-opendxp)

PHPackages © 2026

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