PHPackages                             sytxlabs/laravel-error-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. sytxlabs/laravel-error-logger

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

sytxlabs/laravel-error-logger
=============================

A Laravel package to log errors

1.9.2(1mo ago)16.0k—8.3%MITPHPPHP ^8.2|^8.3|^8.4|^8.5CI passing

Since Jun 7Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/SytxLabs/Laravel-Error-Logger)[ Packagist](https://packagist.org/packages/sytxlabs/laravel-error-logger)[ RSS](/packages/sytxlabs-laravel-error-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (20)Used By (0)

Error-Logger for Laravel
========================

[](#error-logger-for-laravel)

[![MIT Licensed](https://camo.githubusercontent.com/c2bffd81d308ced1cc3b0d66fb0ed453ab478a5e17c988b780f9de986a390ee2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Check code style](https://github.com/SytxLabs/Laravel-Error-Logger/actions/workflows/code-style.yml/badge.svg?style=flat-square)](https://github.com/SytxLabs/Laravel-Error-Logger/actions/workflows/code-style.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/9a9f7047f2b61c9c2491ad3668e2b3c1932f28ca3b53e3f77cc03bc206a43c34/68747470733a2f2f706f7365722e707567782e6f72672f737974786c6162732f6c61726176656c2d6572726f722d6c6f676765722f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/sytxlabs/laravel-error-logger)[![Total Downloads](https://camo.githubusercontent.com/0478c0141ff1cd8c6e0697f06ee42563c69561bc03ad839fa19f9c7d7ac66df5/68747470733a2f2f706f7365722e707567782e6f72672f737974786c6162732f6c61726176656c2d6572726f722d6c6f676765722f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/sytxlabs/laravel-error-logger)

This package adds a basic logging channel that sends error logs to an email address, discord channel, whatsapp account, telegram chat and a (github/gitlab) issue.

Prerequisites
-------------

[](#prerequisites)

- A configured default Laravel mail driver
- PHP 8.2 or higher
- Laravel 10.0 or higher

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

[](#installation)

```
composer require sytxlabs/laravel-error-logger
```

Configuration
-------------

[](#configuration)

To configure your Laravel application to use the logger, you should create a logging channel in your `logging.php`configuration file.

For example a stack channel that logs to the default stack and sends email notifications:

```
return [
    // ...
    'channels' => [
        // ...

        'error-log' => [
            'driver' => 'monolog',
            'handler' => \SytxLabs\ErrorLogger\Logging\Monolog\ErrorLogHandler::class,
        ],
    ],
    // ...
];
```

You may then set the logging channel in your `.env` file or as the default logging channel in your `logging.php`.

```
LOG_CHANNEL=error-log
```

### Customization

[](#customization)

The library offers some customization for the default `error-log` channel via a config.

It's also possible to publish the configuration for this package with the `artisan vendor:publish` command.

```
php artisan vendor:publish --tag=error-logger-config
```

Known issues
------------

[](#known-issues)

### Mail drivers using a 'log' transport

[](#mail-drivers-using-a-log-transport)

Mail drivers using a `\Illuminate\Mail\Transport\LogTransport` transport are not supported and the EmailHandler will fall back to a `NoopHandler`.

**However**, this automatic fallback currently only works if the selected driver directly uses a `LogTransport`. If you for example set a `RoundRobinTransport` with a `LogTransport` mail driver, it will end up in an infinite recursion loop.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance89

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

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

Total

19

Last Release

54d ago

PHP version history (3 changes)1.0.0PHP ^8.2|^8.3

1.6.0PHP ^8.2|^8.3|^8.4

1.9.2PHP ^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/e0cf11374b4a8a93b44dddc0727e0d45982efad5a1871a8b0161c4a6bc906458?d=identicon)[SytxLabs](/maintainers/SytxLabs)

---

Top Contributors

[![shaunluedeke](https://avatars.githubusercontent.com/u/77498048?v=4)](https://github.com/shaunluedeke "shaunluedeke (52 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

composererror-handlerloggingphploglaravelemailerrorgithubgitlabloggertelegramwhatsappdiscord

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sytxlabs-laravel-error-logger/health.svg)

```
[![Health](https://phpackages.com/badges/sytxlabs-laravel-error-logger/health.svg)](https://phpackages.com/packages/sytxlabs-laravel-error-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)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2081.1M2](/packages/marvinlabs-laravel-discord-logger)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)[kabbouchi/laravel-logger-discord-channel

A Discord based Monolog driver for Laravel

149.5k](/packages/kabbouchi-laravel-logger-discord-channel)

PHPackages © 2026

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