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

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

cerealkiller/error-logger-laravel-sdk
=====================================

Laravel SDK for ErrorLogger

v1.0.2(5y ago)114[1 PRs](https://github.com/ErrorLogger-SDK/Laravel-SDK/pulls)MITPHPPHP ^7.3CI passing

Since Jun 2Pushed 3w ago1 watchersCompare

[ Source](https://github.com/ErrorLogger-SDK/Laravel-SDK)[ Packagist](https://packagist.org/packages/cerealkiller/error-logger-laravel-sdk)[ RSS](/packages/cerealkiller-error-logger-laravel-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (13)Used By (0)

[![](https://camo.githubusercontent.com/395696ed0c29c0ee4e62340bc95752ac11dc618faf45205f0f56100a1fa6dd30/68747470733a2f2f6572726f722d6c6f676765722e6e65746c6966792e6170702f6173736574732f696d616765732f6f6666696369616c2e737667)](https://camo.githubusercontent.com/395696ed0c29c0ee4e62340bc95752ac11dc618faf45205f0f56100a1fa6dd30/68747470733a2f2f6572726f722d6c6f676765722e6e65746c6966792e6170702f6173736574732f696d616765732f6f6666696369616c2e737667)

ErrorLogger
===========

[](#errorlogger)

Laravel 7.x package for logging errors to [error-logger.netlify.app](https://error-logger.netlify.app)

[![Latest Stable Version](https://camo.githubusercontent.com/494709cbd6e5144b38e1084a68ab12a2be53e41599689951a2b19d1e48d16ecb/68747470733a2f2f706f7365722e707567782e6f72672f63657265616c6b696c6c65722f6572726f722d6c6f676765722d6c61726176656c2d73646b2f76)](//packagist.org/packages/cerealkiller/error-logger-laravel-sdk)[![Total Downloads](https://camo.githubusercontent.com/d9b5846c965d792f8af5f4e182e46e999167e32335869f5065faab760bc5a945/68747470733a2f2f706f7365722e707567782e6f72672f63657265616c6b696c6c65722f6572726f722d6c6f676765722d6c61726176656c2d73646b2f646f776e6c6f616473)](//packagist.org/packages/cerealkiller/error-logger-laravel-sdk)[![License](https://camo.githubusercontent.com/db2932bc2ca2efac7a09303bbeba026211ce87d7402dd1bbf80cbea83c8f3a95/68747470733a2f2f706f7365722e707567782e6f72672f63657265616c6b696c6c65722f6572726f722d6c6f676765722d6c61726176656c2d73646b2f6c6963656e7365)](//packagist.org/packages/cerealkiller/error-logger-laravel-sdk)

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

[](#installation)

You can install the package through Composer.

```
composer require cerealkiller/error-logger-laravel-sdk
```

Then publish the config and migration file of the package using artisan.

```
php artisan vendor:publish --provider="ErrorLogger\ErrorLoggerServiceProvider"
```

And adjust config file (`config/errorlogger.php`) with your desired settings.

Note: by default only local environments will report errors. To modify this edit your errorlogger configuration.

Configuration variables
-----------------------

[](#configuration-variables)

All that is left to do is to define env configuration variable in .env

```
ERRORLOGGER_API_KEY=

```

`ERRORLOGGER_API_KEY` is your profile key which authorises your account to the API.

Get API\_KEY at [error-logger.netlify.app](https://error-logger.netlify.app)

Setup
-----

[](#setup)

Next is to add the `errorlogger` driver to the logging.php file:

```
'channels' => [
    'errorlogger' => [
        'driver' => 'errorlogger',
    ],
],
```

After that you have configured the ErrorLogger channel you can add it to the stack section:

```
'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'errorlogger'],
    ],
],
```

Frontend
--------

[](#frontend)

To catch frontend errors, add this include blade directive on top of the file where you want to log errors.

```
@include('errorlogger::js-errorlogger-client')
```

Testing
-------

[](#testing)

Now test to see if it works, you can do this in two ways.

##### Option 1:

[](#option-1)

- Run this in your terminal:

```
php artisan errorlogger:test
```

##### Option 2:

[](#option-2)

- Run this code in your application to see if the exception is received by ErrorLogger.

```
throw new \Exception('Testing my application!');
```

### And you are good to go! Happy coding :)

[](#and-you-are-good-to-go-happy-coding-)

Versioning
----------

[](#versioning)

ErrorLogger-Laravel-SDK is versioned under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

```
..

```

And constructed with the following guidelines:

- Breaking backward compatibility bumps the major and resets the minor and patch.
- New additions without breaking backward compatibility bumps the minor and resets the patch.
- Bug fixes and misc changes bumps the patch.
- Minor versions are not maintained individually, and you're encouraged to upgrade through to the next minor version.

Major versions are maintained individually through separate branches.

License
-------

[](#license)

The ErrorLogger-Laravel-SDK package is open source software licensed under the [ Apache License 2.0](https://github.com/CerealKiller97/ErrorLogger-Laravel-SDK/blob/master/LICENSE)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance62

Regular maintenance activity

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

6

Last Release

2054d ago

Major Versions

0.95 → v1.0.02020-09-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22789589?v=4)[Stefan Bogdanović](/maintainers/CerealKiller97)[@CerealKiller97](https://github.com/CerealKiller97)

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/cerealkiller-error-logger-laravel-sdk/health.svg)](https://phpackages.com/packages/cerealkiller-error-logger-laravel-sdk)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[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)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)

PHPackages © 2026

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