PHPackages                             flawe/flare-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. flawe/flare-bundle

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

flawe/flare-bundle
==================

Send Symfony errors to Flare

v3.1.1(2w ago)04MITPHPPHP &gt;=8.3CI passing

Since Apr 23Pushed 2w agoCompare

[ Source](https://github.com/f-lawe/flare-bundle)[ Packagist](https://packagist.org/packages/flawe/flare-bundle)[ RSS](/packages/flawe-flare-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (0)

Symfony Flare Bundle
====================

[](#symfony-flare-bundle)

[![Versions](https://camo.githubusercontent.com/8265e59ac7c521336c6eef2884ad4662d061bd3e5c839446211f270b301ff8d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6177652f666c6172652d62756e646c65)](https://packagist.org/packages/flawe/flare-bundle)[![Downloads](https://camo.githubusercontent.com/cb2389adca3a964b68798b4cd3632f545309857d0e68dacfc63e5865a1b4115f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6177652f666c6172652d62756e646c65)](https://packagist.org/packages/flawe/flare-bundle/stats)[![Licence](https://camo.githubusercontent.com/dc65c3497971d2a890a076e36f07ec9341219977585a29300bce29e77e7b5007/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666c6177652f666c6172652d62756e646c65)](./LICENCE.md)[![GitHub Actions](https://camo.githubusercontent.com/652885c8a9a40ef4357718a12a9112663b4a945be0c95d96bb8cdee72d2c7585/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f662d6c6177652f666c6172652d62756e646c652f70722d636865636b732e79616d6c)](https://github.com/f-lawe/flare-bundle/actions/workflows/pr-checks.yaml)

Send Symfony errors to Flare! This project is the Symfony counterpart of the [Laravel Flare](https://github.com/spatie/laravel-flare) package.

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

[](#installation)

Install the package via composer:

```
composer require flawe/flare-bundle
```

Add the bundle to your Symfony application by adding it to the `config/bundles.php` file:

```
return [
    // ...
    Flawe\FlareBundle\FlareBundle::class => ['all' => true],
];
```

Add your Flare API key to your `.env` file:

```
FLARE_KEY=your-flare-key
```

And finally, add the file `config/packages/flare.yaml` and fill it with your settings:

```
flare:
    key: '%env(FLARE_KEY)%'
    trace: false
    censor:
        client_ips: true
        body_fields: []
        headers: []
        cookies: true
        session: true
```

The minimum configuration requires the `key` option.

Usage
-----

[](#usage)

The bundle will automatically report all errors to Flare.

On top of that, you can inject Flare to monitor perfomance:

```
namespace App\Controller;

use Spatie\FlareClient\Flare;
use Symfony\Component\HttpFoundation\Response;

class SomeController
{
    #[Route('/some-action')]
    public function someAction(Flare $flare): Response
    {
        $flare->application()->recordStart();
        // Do something
        $flare->application()->recordEnd();

        return new Response('Some Response');
    }
}
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Total

4

Last Release

14d ago

Major Versions

v1.0.0 → v3.0.02026-05-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/44bb01d8b6df947c56f5576bd81118b6c0fc4558bce77880e97bc8acae32eb02?d=identicon)[flawe](/maintainers/flawe)

---

Top Contributors

[![f-lawe](https://avatars.githubusercontent.com/u/128615806?v=4)](https://github.com/f-lawe "f-lawe (7 commits)")

---

Tags

error-monitoringflarephpsymfony-bundle

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/flawe-flare-bundle/health.svg)

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

PHPackages © 2026

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