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(3mo ago)17.1k↑100%MITPHPPHP ^8.2|^8.3|^8.4|^8.5CI passing

Since Jun 7Pushed 3mo 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 3d 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

49

—

FairBetter than 94% of packages

Maintenance80

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

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

108d 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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.2k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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