PHPackages                             ayorinde-codes/requestlogger - 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. ayorinde-codes/requestlogger

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

ayorinde-codes/requestlogger
============================

A laravel request logger that logs requests ip, agent, payload request, payload response, Time of execution and url in the database within any request call

17PHP

Since Jun 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Ayorinde-Codes/RequestLogger)[ Packagist](https://packagist.org/packages/ayorinde-codes/requestlogger)[ RSS](/packages/ayorinde-codes-requestlogger/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Description of the package
==========================

[](#description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/95f31bf63443ff68cab3cf9a14da1a9d98b37bea4157137fd6d507ce4faee63a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61796f72696e64652d636f6465732f726571756573746c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ayorinde-codes/requestlogger)

[![Stars](https://camo.githubusercontent.com/bc9c373a8684b2f289be5a6b1e18d69300d4a1e535a42bbd7a84e9b5fe40a995/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f41796f72696e64652d436f6465732f526571756573744c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://github.com/Ayorinde-Codes/RequestLogger/stargazers)

RequestLogger is a Laravel Package that makes it easy to log requests ip, agent(browser or postman), payload request, payload response, Time of execution and url in the database within any request call.

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

[](#requirements)

This package requires:

PHP 7.1+

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

[](#installation)

You can install the package via composer:

```
composer require ayorinde-codes/requestlogger
```

Append the following line to the providers key in config/app.php to register the package:

```
    'providers' => [

Ayorindecodes\Requestlogger\RequestLoggerServiceProvider::class,
    ]
```

Usage
-----

[](#usage)

Kernel
------

[](#kernel)

Append the following to the Kernel App\\Http\\Kernel.php in the $routeMiddleware and $middlewareGroups add

```
    protected $middlewareGroups = [

        'api' => [
            'request_logger'
        ]

protected $routeMiddleware =[
         'request_logger'=>Ayorindecodes\Requestlogger\Middleware\RequestLoggerMiddleware::class,
]
```

run composer dump-autoload

### Testing

[](#testing)

```
composer test
```

Publish Package Assets (optional)
---------------------------------

[](#publish-package-assets-optional)

You may additionally publish the package configuration and language file using the vendor:publish Artisan command:

php artisan vendor:publish --provider="Ayorindecodes\\Requestlogger\\RequestLoggerServiceProvider"

### Changelog

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Ayorinde Akindemowo](https://github.com/ayorinde-codes)

License
-------

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bf50f66882229a10d85907f893657a34c4235a8be43d04c7f2bb12eb2667c9c?d=identicon)[Ayorinde-codes](/maintainers/Ayorinde-codes)

### Embed Badge

![Health badge](/badges/ayorinde-codes-requestlogger/health.svg)

```
[![Health](https://phpackages.com/badges/ayorinde-codes-requestlogger/health.svg)](https://phpackages.com/packages/ayorinde-codes-requestlogger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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