PHPackages                             deuzu/request-collector-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. [HTTP &amp; Networking](/categories/http)
4. /
5. deuzu/request-collector-bundle

AbandonedArchivedSymfony-bundle[HTTP &amp; Networking](/categories/http)

deuzu/request-collector-bundle
==============================

HTTP request collector

1.1.0(8y ago)729.8k1[1 issues](https://github.com/deuzu/RequestCollectorBundle/issues)MITPHPPHP &gt;=5.5

Since May 14Pushed 8y agoCompare

[ Source](https://github.com/deuzu/RequestCollectorBundle)[ Packagist](https://packagist.org/packages/deuzu/request-collector-bundle)[ RSS](/packages/deuzu-request-collector-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (4)Used By (0)

Request Collector Bundle
------------------------

[](#request-collector-bundle)

[![Build Status](https://camo.githubusercontent.com/658844f01507d1d68aa845b9e8e354daeacee14f050cb5c1de1914a1ec52f111/68747470733a2f2f7472617669732d63692e6f72672f6465757a752f52657175657374436f6c6c6563746f7242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/deuzu/RequestCollectorBundle)[![Latest Stable Version](https://camo.githubusercontent.com/292e226ed254816b355190546936836f08f0468912c00ecfaef82e28b6b57520/68747470733a2f2f706f7365722e707567782e6f72672f6465757a752f726571756573742d636f6c6c6563746f722d62756e646c652f762f737461626c65)](https://packagist.org/packages/deuzu/request-collector-bundle) [![Total Downloads](https://camo.githubusercontent.com/ce68cfc1aac3431f797c3ed72a07a089b57faaafcda6680174a88bb8baae9b9c/68747470733a2f2f706f7365722e707567782e6f72672f6465757a752f726571756573742d636f6c6c6563746f722d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/deuzu/request-collector-bundle) [![Latest Unstable Version](https://camo.githubusercontent.com/a73c103975ecb4562393a903a341912041f4d58e3212e7ea710e86d4a621afdc/68747470733a2f2f706f7365722e707567782e6f72672f6465757a752f726571756573742d636f6c6c6563746f722d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/deuzu/request-collector-bundle) [![License](https://camo.githubusercontent.com/57080035af2b55f059ec94b19fd18e663cbc45289268c6caa5e31af9f7e78965/68747470733a2f2f706f7365722e707567782e6f72672f6465757a752f726571756573742d636f6c6c6563746f722d62756e646c652f6c6963656e7365)](https://packagist.org/packages/deuzu/request-collector-bundle)

The request collector Symfony bundle collects HTTP requests from various internet services (webhooks, api) or local calls. It exposes an URL that will persist, log and / or mail the incomming requests. The collected HTTP requests contain headers, query string parameters , post/form parameters and the body / content of the request.

It will help you to inspect, debug or process webhooks / api requests.

You can also add a your own custom service which will be executed just after the collect process by tagging a Symfony service from your application (CF Extension).

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

[](#installation)

```
composer require deuzu/request-collector-bundle
```

*app/AppKernel.php*

```
$bundles = array(
    // ...
    new Deuzu\RequestCollectorBundle\DeuzuRequestCollectorBundle(),
);
```

*app/config/routing.yml*

```
deuzu_request_collector:
    resource: .
    type: request_collector
```

*app/config/config.yml*

```
framework:
    # ...
    serializer: { enable_annotations: true }

deuzu_request_collector:
    collectors:
        default:
            route_path: /request-collector/collect
```

*You need to configure one collector and its route\_path. By default the collector only persists the request.*

*Create Doctrine schema if needed*

```
$ php app/console doctrine:database:create
$ php app/console doctrine:schema:create
```

*...or update it*

```
$ php app/console doctrine:schema:update --force
```

*You're done. To test it try to access a configured URL and then add /inspect at the end to see the persisted requests. Logs are located in the log folder and named by default request\_collector.log*

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

[](#configuration)

*app/config/config.yml*

```
deuzu_request_collector:
    assets:
        bootstrap3_css: true # or bundles/your_app/css/bootstrap.min.css
        bootstrap3_js: true  # or bundles/your_app/js/bootstrap.min.js
        jquery: true         # or bundles/your_app/js/jquery.min.js
    collectors:
        default:
            route_path: /what/ever/you/want
        github:
            route_path: /github/webhook
            logger:
                enabled: true
                channel: github
            mailer:
                enabled: true
                email: florian.touya@gmail.com
            persister:
                enabled: true
```

If you are using a different channel, add it to monolog configuration

*app/config/config.yml*

```
monolog:
    channels: ['github']
    handlers:
        # ...
        github:
            type: stream
            path: '%kernel.logs_dir%/%kernel.environment%.github.log'
            level: debug
            channels: [github]
```

Extension
---------

[](#extension)

*If you want to add your own custom service after the collect process all you have to do is to tag it like this :*

```
post_collect_handler.default:
    class: AppBundle\Service\CustomPostCollectHandler
    tags:
        - { name: request_collector.post_collect_handler, alias: collector_name }
```

*Your custom service must implements Deuzu\\RequestCollectorBundle\\PostCollectHandler\\PostCollectHandlerInterface*

TODO
----

[](#todo)

- contributing.md, pr\_template.md
- Menu with differents collectors
    - button to copy address which collects
    - Inspect all collector action
- Improve templates
    - filters
- Add translations (en only)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~371 days

Total

3

Last Release

3279d ago

Major Versions

0.0.1 → 1.0.02016-05-10

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

1.0.0PHP &gt;=5.5

### Community

Maintainers

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

---

Top Contributors

[![deuzu](https://avatars.githubusercontent.com/u/234792?v=4)](https://github.com/deuzu "deuzu (13 commits)")[![Potherca](https://avatars.githubusercontent.com/u/195757?v=4)](https://github.com/Potherca "Potherca (1 commits)")

---

Tags

webhookcollectorhttp request

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/deuzu-request-collector-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/deuzu-request-collector-bundle/health.svg)](https://phpackages.com/packages/deuzu-request-collector-bundle)
```

###  Alternatives

[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[symfony/webhook

Eases sending and consuming webhooks

573.0M35](/packages/symfony-webhook)[renoki-co/laravel-aws-webhooks

Easy webhook handler for Laravel to catch AWS SNS notifications for various services.

73248.5k](/packages/renoki-co-laravel-aws-webhooks)[aura/http

The Aura HTTP package provides objects to build and send HTTP responses from the server to the client.

7338.8k4](/packages/aura-http)[skrepr/teams-connector

A simple PHP package for sending messages to Microsoft Teams

239.6k1](/packages/skrepr-teams-connector)[popphp/pop-http

Pop Http Component for Pop PHP Framework

1018.5k13](/packages/popphp-pop-http)

PHPackages © 2026

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