PHPackages                             ludovicose/logger - 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. [Framework](/categories/framework)
4. /
5. ludovicose/logger

ActiveLibrary[Framework](/categories/framework)

ludovicose/logger
=================

Log

2.1.0(1y ago)013.0k↓29.7%MITPHPPHP &gt;=8.1

Since Dec 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ludovicose/logger)[ Packagist](https://packagist.org/packages/ludovicose/logger)[ Docs](https://github.com/ludovicose/logger)[ RSS](/packages/ludovicose-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (13)Used By (0)

Logger Library with Request Sequence
====================================

[](#logger-library-with-request-sequence)

Overview
--------

[](#overview)

This PHP library enhances logging capabilities by incorporating a unique identifier (UUID) into each log entry, specifically tied to individual requests. The inclusion of UUIDs facilitates efficient log retrieval, allowing users to trace data associated with a particular request from the beginning to the end of the PHP script execution.

Features
--------

[](#features)

### Request UUID Logging

[](#request-uuid-logging)

The library assigns a UUID to each log entry, offering a convenient means of searching and analyzing logs related to a specific request. This feature proves invaluable for troubleshooting and comprehending the flow of requests within your PHP application.

### Middleware Group Logging

[](#middleware-group-logging)

If a middleware group is specified in the configuration file, the library logs requests and user responses associated with that group.

Example configuration:

```
'middleware_groups' => [
    'web',
    'api'
],
```

### HTTP Request Logging

[](#http-request-logging)

Enabling HTTP request logging captures details about communication between servers, including information about incoming and outgoing HTTP requests.

```
'enable_http_log' => true
```

### Eloquent Event Logging

[](#eloquent-event-logging)

The library can log all Eloquent model events, including save, edit, and other related activities. This feature is useful for monitoring changes to your application's data.

```
'enable_eloquent_log' => true,
```

### Database Query Logging

[](#database-query-logging)

Enabling database query logging helps keep track of all queries made to the database, aiding in performance optimization and debugging database-related issues.

```
'enable_query_log' => true,
```

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

[](#installation)

1. ##### Install via Composer:

    [](#install-via-composer)

```
composer require ludovicose/logger
```

2. ##### Configuration:

    [](#configuration)

Copy the configuration file to your project and customize it according to your requirements.

```
php artisan vendor:publish --provider="Ludovicose\Logger\PackageServiceProvider" --tag="config"
```

3. #### Usage:

    [](#usage)

Once installed and configured, the logger will automatically start capturing logs based on your specified settings.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~44 days

Total

10

Last Release

719d ago

Major Versions

1.2.0 → 2.0.02024-01-08

1.4.0 → 2.1.02024-05-30

### Community

Maintainers

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

---

Top Contributors

[![ludovicose](https://avatars.githubusercontent.com/u/8954176?v=4)](https://github.com/ludovicose "ludovicose (16 commits)")

---

Tags

frameworklaravel

###  Code Quality

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ludovicose-logger/health.svg)

```
[![Health](https://phpackages.com/badges/ludovicose-logger/health.svg)](https://phpackages.com/packages/ludovicose-logger)
```

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27431.5k](/packages/rahulalam31-laravel-abuse-ip)

PHPackages © 2026

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