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

ActiveLibrary

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

Laravel error collector package for Xiloryx Log monitoring system

1.3.0(2mo ago)1822proprietaryPHPPHP ^8.1|^8.2|^8.3

Since Feb 14Pushed 2mo 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 1mo 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

45

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

88d 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

[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

74310.9M66](/packages/laravel-mcp)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[konekt/html

HTML and Form Builders for the Laravel Framework

24403.2k5](/packages/konekt-html)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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