PHPackages                             mintunitish/laravel-log-enhancer - 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. mintunitish/laravel-log-enhancer

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

mintunitish/laravel-log-enhancer
================================

Adds more data to logs for easy debugging.

1.1.3(7y ago)1120MITPHPPHP &gt;=7.1.3

Since Jul 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mintunitish/log-enhancer)[ Packagist](https://packagist.org/packages/mintunitish/laravel-log-enhancer)[ RSS](/packages/mintunitish-laravel-log-enhancer/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (4)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/85a1e0f18ae4a9b16f6cb61fe677d6c39e50c41751744740445f140dd599dc55/68747470733a2f2f706f7365722e707567782e6f72672f6d696e74756e69746973682f6c61726176656c2d6c6f672d656e68616e6365722f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mintunitish/laravel-log-enhancer)[![Total Downloads](https://camo.githubusercontent.com/9645b359a6b4b97398d786db74030a9b53d2612e35c6907f5909444e0179a9a9/68747470733a2f2f706f7365722e707567782e6f72672f6d696e74756e69746973682f6c61726176656c2d6c6f672d656e68616e6365722f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mintunitish/laravel-log-enhancer)[![License](https://camo.githubusercontent.com/d26e63c0094c80fa7bf2d3b23c9ac8d02f124b3bb935c76583b7de7bcc6a6031/68747470733a2f2f706f7365722e707567782e6f72672f6d696e74756e69746973682f6c61726176656c2d6c6f672d656e68616e6365722f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mintunitish/laravel-log-enhancer)[![Monthly Downloads](https://camo.githubusercontent.com/7599f47b916a0734b91a26aea9e8db30ac8677de75e1fdd831c2e54e768f1396/68747470733a2f2f706f7365722e707567782e6f72672f6d696e74756e69746973682f6c61726176656c2d6c6f672d656e68616e6365722f642f6d6f6e74686c793f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mintunitish/laravel-log-enhancer)[![Build Status](https://camo.githubusercontent.com/5f143a8347707c3a5f07d8397cc1a5bde230dfd68717fc59b2c53e4690e92635/68747470733a2f2f7472617669732d63692e636f6d2f6d696e74756e69746973682f6c6f672d656e68616e6365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/mintunitish/log-enhancer)[![Codacy Badge](https://camo.githubusercontent.com/da038630af5cd0be3a2f5732db7daef7896350e9d0d413642bc512046f41a1b2/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3134666334306565393035373461633338653838653138303666383232336236)](https://www.codacy.com/project/mintu.nitish/log-enhancer/dashboard?utm_source=github.com&utm_medium=referral&utm_content=awesome-people-inc/log-enhancer&utm_campaign=Badge_Grade_Dashboard)

Log Enhancer (Laravel 5.6)
==========================

[](#log-enhancer-laravel-56)

Laravel's logging system helps a lot for storing data as well as while troubleshooting some hidden bugs. The data related to the exception automatically gets logged whenever something goes wrong.

Sometimes, we need more than just *stack trace* to debug the issue easily. The things like **request URL**, **request input data**, **session data**, etc. help us hunt down the exact cause quickly. That's what this *plug-and-play* Laravel package offers.

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

[](#requirements)

- PHP 7.1.3+
- Laravel 5.6

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

[](#installation)

1. Install the package by running this command in your terminal/cmd:

```
composer require mintunitish/laravel-log-enhancer

```

2. Add this package's LogEnhancer class to the tap option of your log channel in **config/logging.php**:

```
'stack' => [
    'driver' => 'stack',
    'tap' => [AwesomePeople\LaravelLogEnhancer\LogEnhancer::class],
    'channels' => ['daily', 'slack'],
],

```

Optionally, you can import config file by running this command in your terminal/cmd:

```
php artisan vendor:publish --tag=laravel-log-enhancer-config

```

It has following configuration settings:

- (bool) log\_request\_details =&gt; Set to *true* if you wish to log request data. [(Reference)](https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/WebProcessor.php)
- (bool) log\_input\_data =&gt; Set to *true* if you wish to log user input data
- (bool) log\_request\_headers =&gt; Set to *true* if you wish to log request headers
- (bool) log\_session\_data =&gt; Set to *true* if you wish to log session data
- (bool) log\_memory\_usage =&gt; Set to *true* if you wish to log memory usage. [(Reference)](https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/MemoryUsageProcessor.php)
- (bool) log\_git\_data =&gt; Set to *true* if you wish to log git branch and commit details. [(Reference)](https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/GitProcessor.php)
- (array) ignore\_input\_fields =&gt; If input data is being sent, you can specify the inputs from the user that should not be logged. for example, password,cc number, etc.

Authors
-------

[](#authors)

- [**Nitish Kumar**](https://github.com/mintunitish)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

Special Thanks to
-----------------

[](#special-thanks-to)

- [Laravel](https://laravel.com) Community

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

6

Last Release

2892d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12434080?v=4)[Nitish Kumar](/maintainers/mintunitish)[@mintunitish](https://github.com/mintunitish)

---

Top Contributors

[![mintunitish](https://avatars.githubusercontent.com/u/12434080?v=4)](https://github.com/mintunitish "mintunitish (32 commits)")

---

Tags

error-loglaravellaravel-packageloggingphpphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mintunitish-laravel-log-enhancer/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[illuminate/log

The Illuminate Log package.

6225.0M603](/packages/illuminate-log)[mateusjunges/laravel-kafka

A kafka driver for laravel

7243.4M20](/packages/mateusjunges-laravel-kafka)[grkamil/laravel-telegram-logging

Send logs to Telegram chat via Telegram bot

161493.0k](/packages/grkamil-laravel-telegram-logging)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.3M](/packages/honeybadger-io-honeybadger-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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