PHPackages                             xiloryx/log-collector - 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. xiloryx/log-collector

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

xiloryx/log-collector
=====================

Laravel error collector package for Xiloryx Log monitoring system

1.3.0(4mo ago)11.4kproprietaryPHPPHP ^8.1|^8.2|^8.3

Since Feb 14Pushed 4mo agoCompare

[ Source](https://github.com/Xiloryx-dev/xiloryx-log-collector)[ Packagist](https://packagist.org/packages/xiloryx/log-collector)[ RSS](/packages/xiloryx-log-collector/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (3)Versions (14)Used By (0)

Xiloryx Log Collector
=====================

[](#xiloryx-log-collector)

Laravel package for sending errors to [Xiloryx Log](https://log.xiloryx.fr) — real-time error monitoring for Laravel applications.

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

[](#installation)

```
composer require xiloryx/log-collector
```

That's it. The package auto-registers itself via Laravel's package discovery.

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

[](#configuration)

### 1. Add your API key

[](#1-add-your-api-key)

Add the following to your `.env` file:

```
XILORYX_LOG_API_KEY=your_project_api_key_here
```

You can find your API key in your project settings on [log.xiloryx.fr](https://log.xiloryx.fr).

### 2. (Optional) Publish the config file

[](#2-optional-publish-the-config-file)

```
php artisan vendor:publish --tag=xiloryx-log-config
```

This gives you access to the full config at `config/xiloryx-log.php`.

Available environment variables
-------------------------------

[](#available-environment-variables)

VariableDefaultDescription`XILORYX_LOG_API_KEY``null`**Required.** Your project API key`XILORYX_LOG_ENABLED``true`Enable/disable error reporting`XILORYX_LOG_HEARTBEAT``false`Enable request counting (premium)Features
--------

[](#features)

### Error reporting

[](#error-reporting)

All unhandled exceptions are automatically captured and sent to your dashboard — no code changes required. The package hooks into Laravel's exception handler on boot.

Each error includes:

- Exception message, file, and line
- Full stack trace
- Request URL, method, and IP
- Authenticated user ID (if available)
- PHP version and environment

### Project Health (premium)

[](#project-health-premium)

When `XILORYX_LOG_HEARTBEAT=true`, the package tracks your total request count using a local cache buffer. Requests are batched and sent to Xiloryx Log every 100 hits — **zero performance impact** on your app.

This powers the **Project Health** dashboard: total requests, total errors, and error rate over 30 days.

Silent by design
----------------

[](#silent-by-design)

The package will **never** throw an exception or slow down your application:

- All HTTP calls to Xiloryx Log have a 2-second timeout
- Every failure is caught and silently ignored
- Heartbeat runs in the `terminate()` phase, after the response is sent

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Laravel 10, 11, or 12
- Guzzle HTTP client (included with Laravel)

Support
-------

[](#support)

For support:

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance75

Regular maintenance activity

Popularity22

Limited adoption so far

Community6

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

Total

13

Last Release

134d ago

### Community

Maintainers

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

---

Top Contributors

[![Mulherbe](https://avatars.githubusercontent.com/u/77394951?v=4)](https://github.com/Mulherbe "Mulherbe (19 commits)")

### Embed Badge

![Health badge](/badges/xiloryx-log-collector/health.svg)

```
[![Health](https://phpackages.com/badges/xiloryx-log-collector/health.svg)](https://phpackages.com/packages/xiloryx-log-collector)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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