PHPackages                             henrotaym/laravel-flare-exception-handler - 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. henrotaym/laravel-flare-exception-handler

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

henrotaym/laravel-flare-exception-handler
=========================================

Simple exception handler logging exception context to flare.

v4.0.1(2mo ago)06.7k↓50%2MITPHPCI passing

Since Oct 14Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/henrotaymcorp/laravel-flare-exception-handler)[ Packagist](https://packagist.org/packages/henrotaym/laravel-flare-exception-handler)[ RSS](/packages/henrotaym-laravel-flare-exception-handler/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (14)Used By (2)

Flare exception handler
=======================

[](#flare-exception-handler)

Compatibility
-------------

[](#compatibility)

Version de laravelVersion du package7.x.x1.x.x8.x.x2.x.x9.x.x2.x.x10.x.x3.x.x11.x.x3.x.x12.x.x4.x.xInstallation
------------

[](#installation)

```
composer require henrotaym/laravel-flare-exception-handler

```

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

[](#configuration)

### Environment

[](#environment)

```
LOG_CHANNEL=flare
```

Usage
-----

[](#usage)

### Optimal

[](#optimal)

```
namespace App\Exceptions;

use Henrotaym\LaravelFlareExceptionHandler\Context\FlareContext;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;

class Handler extends ExceptionHandler
{
    public function register()
    {
        // Add this line to report context to flare
        $this->reportable(FlareContext::report());
    }
}
```

### Deprecated

[](#deprecated)

Your application `Handler.php` should look like this

```
namespace App\Exceptions;

use Henrotaym\LaravelFlareExceptionHandler\FlareExceptionHandler;

class Handler extends FlareExceptionHandler
{

}
```

If you need more control, override `register` method from handler and call this method where needed :

```
    /**
    * Reporting exception context to flare.
    *
    * @param Throwable $e
    * @return void
    */
    protected function reportContextToFlare(Throwable $e);
```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance85

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

Recently: every ~162 days

Total

12

Last Release

78d ago

Major Versions

v1.0.0 → v2.0.02022-05-24

v2.1.1 → v3.0.02023-10-10

v2.2 → 3.x-dev2024-05-15

v3.2 → v4.0.02026-02-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24230736?v=4)[Mathieu Henrotay](/maintainers/henrotaym)[@henrotaym](https://github.com/henrotaym)

---

Top Contributors

[![henrotaym](https://avatars.githubusercontent.com/u/24230736?v=4)](https://github.com/henrotaym "henrotaym (25 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/henrotaym-laravel-flare-exception-handler/health.svg)

```
[![Health](https://phpackages.com/badges/henrotaym-laravel-flare-exception-handler/health.svg)](https://phpackages.com/packages/henrotaym-laravel-flare-exception-handler)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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