PHPackages                             oskingv/laravel-http-query-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. oskingv/laravel-http-query-logger

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

oskingv/laravel-http-query-logger
=================================

HTTP query logger for Laravel

v1.1.4(5y ago)01101MITPHP

Since May 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/OskingV/laravel-http-query-logger)[ Packagist](https://packagist.org/packages/oskingv/laravel-http-query-logger)[ RSS](/packages/oskingv-laravel-http-query-logger/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (9)Used By (0)

Laravel Http Query Logger
=========================

[](#laravel-http-query-logger)

This is a small package that can helps in debugging logs. It can log request method, url, duration, request payload, which models are retrieved, controller and method.

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

[](#installation)

1. Install the package via composer

```
composer require oskingv/laravel-http-query-logger
```

Usage
-----

[](#usage)

1. Laravel 5.5 and higher uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. If you use a lower version of Laravel you must register it in your *app.php* file:

```
Oskingv\HttpQueryLogger\Providers\HttpQueryLoggerServiceProvider::class
```

2. Publish the config file with:

```
php artisan vendor:publish --tag=config --provider="Oskingv\HttpQueryLogger\Providers\HttpQueryLoggerServiceProvider"
```

The config file is called *http-query-logger.php*. Currently supported drivers are *db* and *file*

By default the logger will use *file* to log the data. But if you want to use Database for logging, migrate table by using

You can also configure which fields should not be logged like passwords, secrets, etc.

***You dont need to migrate if you are just using file driver***

```
php artisan migrate
```

3. Add middleware named ***http.query.logger*** to the route or controller you want to log data

```
//in route.php or web.php
Route::middleware('http.query.logger')->post('/test',function(){
    return response()->json("test");
});
```

4. Dashboard can be accessible via ***yourdomain.com/http-query-logger***

Clear the logs
--------------

[](#clear-the-logs)

You can permenently clear the logs by using the following command.

```
php artisan http_query_logger:clear
```

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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

7

Last Release

2179d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25681092?v=4)[Vlad Oskin](/maintainers/oskingv)[@OskingV](https://github.com/OskingV)

---

Top Contributors

[![OskingV](https://avatars.githubusercontent.com/u/25681092?v=4)](https://github.com/OskingV "OskingV (13 commits)")

---

Tags

laravellogger

### Embed Badge

![Health badge](/badges/oskingv-laravel-http-query-logger/health.svg)

```
[![Health](https://phpackages.com/badges/oskingv-laravel-http-query-logger/health.svg)](https://phpackages.com/packages/oskingv-laravel-http-query-logger)
```

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8674.9k](/packages/illuminated-console-logger)[yzen.dev/mono-processor

This Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.

116.1k](/packages/yzendev-mono-processor)

PHPackages © 2026

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