PHPackages                             bug-collector/laravel-client - 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. bug-collector/laravel-client

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

bug-collector/laravel-client
============================

Client Laravel pour Bug Collector : reporte les erreurs et les anomalies de performance (requêtes, jobs, queries, commandes lentes) à un service Bug Collector centralisé.

v0.1.0(today)00MITPHPPHP ^8.2

Since Jun 27Pushed todayCompare

[ Source](https://github.com/hugo-bachmann/laravel-bug-collector-client)[ Packagist](https://packagist.org/packages/bug-collector/laravel-client)[ RSS](/packages/bug-collector-laravel-client/feed)WikiDiscussions main Synced today

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

Bug Collector — Client Laravel
==============================

[](#bug-collector--client-laravel)

Client Laravel pour [Bug Collector](https://github.com/) : reporte automatiquement les **erreurs** et les **anomalies de performance** (requêtes HTTP, jobs, queries SQL, commandes artisan trop lentes) à un service Bug Collector centralisé.

L'instrumentation et le transport sont implémentés. L'authentification se fait via le header `X-Ingest-Key` ; l'envoi est fail-safe (une panne du collecteur ne casse jamais l'app hôte) ; les seuils de performance sont configurables.

Installation (cible)
--------------------

[](#installation-cible)

```
composer require bug-collector/laravel-client
```

Puis dans le `.env` de l'app cliente :

```
BUG_COLLECTOR_URL="https://"
BUG_COLLECTOR_INGEST_KEY=""
```

`BUG_COLLECTOR_URL` est la **racine** du service Bug Collector. Le client ajoute automatiquement `/api/laravel-bugs/add` pour les erreurs et `/api/laravel-perf/add` pour la performance.

Le ServiceProvider est auto-découvert — rien à enregistrer à la main.

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

[](#configuration)

```
php artisan vendor:publish --tag=bug-collector-config
```

Voir `config/bug-collector.php` pour les seuils de performance (en millisecondes) :

TypeDéfaut`request`2000 ms`job`30000 ms`query`1000 ms`command`60000 msCookies
-------

[](#cookies)

La capture des cookies est **désactivée par défaut** (opt-in via `BUG_COLLECTOR_SEND_COOKIES=true`). Quand elle est activée, les cookies sensibles (session Laravel, `XSRF-TOKEN`, tout cookie commençant par `remember_`) sont automatiquement remplacés par `[REDACTED]`.

Licence
-------

[](#licence)

MIT

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6e9ce794852c5d8707c3fbb45b73d055400d56b3d7b5ea83509a3446fcde73a?d=identicon)[hugo-bachmann](/maintainers/hugo-bachmann)

---

Top Contributors

[![hugo-bachmann](https://avatars.githubusercontent.com/u/61874297?v=4)](https://github.com/hugo-bachmann "hugo-bachmann (29 commits)")

---

Tags

laravelmonitoringerror-reportingperformancebug-collector

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/bug-collector-laravel-client/health.svg)

```
[![Health](https://phpackages.com/badges/bug-collector-laravel-client/health.svg)](https://phpackages.com/packages/bug-collector-laravel-client)
```

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.7M64](/packages/spatie-laravel-responsecache)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)

PHPackages © 2026

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