PHPackages                             jezzdk/laravel-request-log - 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. jezzdk/laravel-request-log

ActiveLibrary

jezzdk/laravel-request-log
==========================

Log all requests in the database.

1.0.1(5y ago)0466MITPHPPHP ^7.2

Since Sep 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jezzdk/laravel-request-log)[ Packagist](https://packagist.org/packages/jezzdk/laravel-request-log)[ Docs](https://github.com/jezzdk/laravel-request-log)[ RSS](/packages/jezzdk-laravel-request-log/feed)WikiDiscussions master Synced today

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

Laravel Request Log.
====================

[](#laravel-request-log)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c414d0c6d792f14b9bd64ddd567895b611a926392cab5f179a6ffd15274b1af1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a657a7a646b2f6c61726176656c2d726571756573742d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jezzdk/laravel-request-log)[![Total Downloads](https://camo.githubusercontent.com/db815069229eccfc0b06b0442e0d004223fd9b58c5a945b4c32a23501bf92683/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a657a7a646b2f6c61726176656c2d726571756573742d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jezzdk/laravel-request-log)

Log all requests in the database. This package will *not* store payloads.

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

[](#installation)

You can install the package via composer:

```
composer require jezzdk/laravel-request-log
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Jezzdk\LaravelRequestLog\RequestLogServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Jezzdk\LaravelRequestLog\RequestLogServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [

    /**
     * Enable the request log (default is false).
     */
    'enabled' => env('REQUEST_LOG_ENABLED', false),

    /**
     * Max age in days.
     *
     * Entries older than this will be deleted by the scheduled task.
     */
    'max_age' => 90,

    /**
     * The model used for storing the request data.
     *
     * You might want to override this if you're using a multi-tenancy package,
     * or if you want to store other data.
     */
    'model' => Jezzdk\LaravelRequestLog\RequestLog::class,

];
```

Usage
-----

[](#usage)

Add the following middleware anywhere in the middleware stack where you want to log requests:

```
// app/Http/Kernel.php
protected $middleware = [
    ...
    \Jezzdk\LaravelRequestLog\Middleware\LogRequest::class
]
```

Add the clean command as a scheduled task:

```
// app/Console/Kernel.php

$schedule->command('request-log:clean')->daily();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~7 days

Total

2

Last Release

2064d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.0.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d0a6d2e4c81a362cc84db1d7394aa7d32c9094b8876a4bbb8dafc1b71a1a90f?d=identicon)[jezzdk](/maintainers/jezzdk)

---

Top Contributors

[![jezzdk](https://avatars.githubusercontent.com/u/139632?v=4)](https://github.com/jezzdk "jezzdk (4 commits)")[![baernholdt-jf](https://avatars.githubusercontent.com/u/73707365?v=4)](https://github.com/baernholdt-jf "baernholdt-jf (2 commits)")

---

Tags

laravel-request-log

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jezzdk-laravel-request-log/health.svg)

```
[![Health](https://phpackages.com/badges/jezzdk-laravel-request-log/health.svg)](https://phpackages.com/packages/jezzdk-laravel-request-log)
```

PHPackages © 2026

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