PHPackages                             php-bug-catcher/reporter-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. php-bug-catcher/reporter-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

php-bug-catcher/reporter-bundle
===============================

A Symfony bundle to report exceptions to Bug Catcher

v2.0.4(9mo ago)0139↓50%MITPHPPHP &gt;=8.1CI passing

Since Jun 16Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/php-bug-catcher/reporter-bundle)[ Packagist](https://packagist.org/packages/php-bug-catcher/reporter-bundle)[ RSS](/packages/php-bug-catcher-reporter-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (9)Used By (0)

[![Tests](https://github.com/php-bug-catcher/reporter-bundle/actions/workflows/symfony.yml/badge.svg)](https://github.com/php-bug-catcher/reporter-bundle/actions/workflows/symfony.yml/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/f71afbb36c843150bf69abec89f79e20d7793bf7f4763a2cd8638604b2b03c29/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068702d6275672d636174636865722f7265706f727465722d62756e646c652f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/php-bug-catcher/reporter-bundle?branch=main)

[![](docs/logo/horizontal.svg)](docs/logo/horizontal.svg)

Catch every bug in your Symfony application
===========================================

[](#catch-every-bug-in-your-symfony-application)

This package is used to send errors from your Symfony application to the [Bug Catcher](https://github.com/php-bug-catcher/bug-catcher) tool.

**Bug Catcher** is a central dashboard for tracking all errors in your PHP applications in one place. It offers features such as:

- **Ping collector** – monitoring the availability of your projects.
- **Log viewer** – log viewer with stack trace and code preview.
- **Configurable notifications** – alerts via email, sound, or other channels.
- **Access control** – ability to grant clients access to specific projects.

For more information, visit the main project:

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

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require php-sentinel/reporter-bundle
```

#### versions

[](#versions)

BugCatcherSymfonyv14.4v25.4,6.4,7.4,8.0### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

#### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require php-sentinel/bug-catcher-reporter-bundle
```

#### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    BugCatcher\Reporter\BugCatcherReporterBundle::class => ['all' => true],
];
```

### Configuration

[](#configuration)

**If you want to send caught errors via HTTP request**

```
composer require symfony/http-client

```

```
# config/packages/bug_catcher.yaml
services:
    app.chain_uri_catcher:
        class: BugCatcher\Reporter\UrlCatcher\ChainUriCatcher
        arguments:
            $uriCatchers:
                - '@bug_catcher.uri_catcher.http_catcher'
                - '@bug_catcher.uri_catcher.console_catcher'
framework:
    http_client:
        scoped_clients:
            # only requests matching scope will use these options
            bug_catcher.client:
                base_uri: 'https://your-bug-catcher-instance:8000'
bug_catcher:
    project: 'dev'
    http_client: 'bug_catcher.client'
    uri_catcher: 'app.chain_uri_catcher'
```

### Automatic logging by Monolog

[](#automatic-logging-by-monolog)

```
composer require symfony/monolog-bundle

```

```
# config/packages/monolog.yaml
monolog:
    handlers:
        bug_catcher:
            type: service
            id: bug_catcher.handler
            level: 500
```

### Custom Logging

[](#custom-logging)

```
class Foo {
	public function __construct(private readonly BugCatcherInterface $bugCatcher) {

	}

	public function foo():void {
		$this->bugCatcher->log([
			"message"     => "My message",
			"level"       => 500,
			"projectCode" => "dev",
			"requestUri"  => "my uri",
		]);
		$this->bugCatcher->logRecord("My log record", 500);
		$this->bugCatcher->logException(new \Exception("My Exception"));
	}
}
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance69

Regular maintenance activity

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Recently: every ~144 days

Total

7

Last Release

114d ago

Major Versions

v1.0.0 → v2.0.12024-06-27

PHP version history (2 changes)v2.0.0PHP &gt;=8.1

1.2.2PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d6d558226302620ec462f64672e9dc81609227626923a808005641e76e8c38f?d=identicon)[tito10047](/maintainers/tito10047)

---

Top Contributors

[![tito10047](https://avatars.githubusercontent.com/u/11459248?v=4)](https://github.com/tito10047 "tito10047 (50 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-bug-catcher-reporter-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/php-bug-catcher-reporter-bundle/health.svg)](https://phpackages.com/packages/php-bug-catcher-reporter-bundle)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[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)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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