PHPackages                             winchester/hd-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. winchester/hd-logger

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

winchester/hd-logger
====================

A laravel package for logging errors,exceptions and information into mysql database table

06HTML

Since Oct 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dinesh-suthar-winchester/hd-logger)[ Packagist](https://packagist.org/packages/winchester/hd-logger)[ RSS](/packages/winchester-hd-logger/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

hd-logger
=========

[](#hd-logger)

a custom laravel error logger which saves data into mysql table

Installation using composer:
============================

[](#installation-using-composer)

`composer require winchester/hd-logger`

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Edit config/app.php:
====================

[](#edit-configappphp)

Add these lines

Service Provider Array:

`Winchester\HdLogger\HdLoggerServiceProvider::class`

Aliases Array:

`'Hdlogger' => Winchester\HdLogger\Facades\HdLoggerFacade::class`

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Database migration:
===================

[](#database-migration)

`php artisan migrate`

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Update app/Exceptions/handler.php
=================================

[](#update-appexceptionshandlerphp)

```
use Hdlogger;

public function report(Exception $exception)
{
    Hdlogger::insertLogger($exception); // Add this line before parent::report($exception)

    parent::report($exception);
}

```

Log general info in runtime
===========================

[](#log-general-info-in-runtime)

in your controller class:

```
use Hdlogger;

public function controllerMethod()
{
    Hdlogger::instant('Log this line in database'); // Example of usage
}

```

View generated logs url
=======================

[](#view-generated-logs-url)

Simply append `/hd-logger` at end of your base url. Example: `http://localhost:8000/hd-logger`

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0e3b4171d816bd18e510d63787e9080521b6762f7fe3cb392cbff38b0f49cc5?d=identicon)[dinesh-suthar-winchester](/maintainers/dinesh-suthar-winchester)

---

Top Contributors

[![dinesh-suthar-winchester](https://avatars.githubusercontent.com/u/56951256?v=4)](https://github.com/dinesh-suthar-winchester "dinesh-suthar-winchester (9 commits)")

---

Tags

customlaravellaravel-loggerlaravel6loggerlogging-facade

### Embed Badge

![Health badge](/badges/winchester-hd-logger/health.svg)

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

###  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)
