PHPackages                             zxygel0913/request-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. zxygel0913/request-logger

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

zxygel0913/request-logger
=========================

Laravel middleware for logging queries with duplicate prevention.

v1.3(4y ago)0287MITPHPPHP &gt;=7.0

Since Mar 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zxygel0913/request-logger)[ Packagist](https://packagist.org/packages/zxygel0913/request-logger)[ RSS](/packages/zxygel0913-request-logger/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Laravel API Request Logger
==========================

[](#laravel-api-request-logger)

> Easily logs all request and response

[![Issues](https://camo.githubusercontent.com/521cd36cf0258391fa051b26178dde8c324d7dee2d35b24a8e0191d884f97017/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7a787967656c303931332f726571756573742d6c6f67676572)](https://github.com/zxygel0913/request-logger)

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

[](#installation)

Require this package in your `composer.json` or install it by running:

```
composer require zxygel0913/request-logger

```

> Note: This package supports auto-discovery features of Laravel 5.5+, You only need to manually add the service provider and alias if working on Laravel version lower then 5.5

To start using Laravel, add the Service Provider to your `config/app.php` for Laravel:

```
'providers' => [
	// ...
	Zxygel0913\RequestLogger\RequestLoggerServiceProvider::class
]
```

Now, you should publish package's config file to your config directory by using following command:

```
php artisan vendor:publish

```

or

```
php artisan vendor:publish --tag=requestLogs

```

Config
------

[](#config)

If you have published config file, you can change the default settings in `config/requestLogs.php` file:

```
return [
    'channel' => 'daily', //Log Channel
    'logs' => [
        'url' => true,
        'ip' => true,
        'request' => true,
        'response' => false,
        'request_except' => ['password'] //Hide specific request from logging
    ],
```

Testing
-------

[](#testing)

Make any request and check your logs.

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

4

Last Release

1544d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/925bf13eadcfec9cf5450b0fa987a546094f4c58566c209590a6c17a7046389c?d=identicon)[zxygel0913](/maintainers/zxygel0913)

---

Top Contributors

[![zxygel0913](https://avatars.githubusercontent.com/u/68549062?v=4)](https://github.com/zxygel0913 "zxygel0913 (37 commits)")

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B12.8k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

2044.7M351](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2430.8M434](/packages/open-telemetry-sdk)

PHPackages © 2026

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