PHPackages                             seeren/error - 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. seeren/error

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

seeren/error
============

Handle and log errors

4.0(4y ago)0177MITPHPPHP &gt;=8.0.1

Since Oct 14Pushed 4y agoCompare

[ Source](https://github.com/seeren/error)[ Packagist](https://packagist.org/packages/seeren/error)[ RSS](/packages/seeren-error/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Seeren\\Error
=============

[](#seerenerror)

[![Build](https://camo.githubusercontent.com/b363930617d73150b7f871fe2439a00ffa28a98d2908605efc57be0cc3c594f4/68747470733a2f2f6170702e7472617669732d63692e636f6d2f73656572656e2f6572726f722e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/seeren/error)[![Require](https://camo.githubusercontent.com/db632888d4b31dc3f93245c7bdde6161e150b231c04ce93cea384e3ca747109e/68747470733a2f2f706f7365722e707567782e6f72672f73656572656e2f6572726f722f726571756972652f706870)](https://packagist.org/packages/seeren/error)[![Coverage](https://camo.githubusercontent.com/438dfa164d3a12185bed1c66cbbc900624e08718628934798dc58aa86a130814/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73656572656e2f6572726f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/seeren/error?branch=master)[![Download](https://camo.githubusercontent.com/0b0e6a4dfb1363f092fc8ca7e53e1a40513867d246e9bccc7a6b1fb604a05e45/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73656572656e2f6572726f722e737667)](https://packagist.org/packages/seeren/error/stats)[![Codacy](https://camo.githubusercontent.com/287a83a7b7464cd6856928dced419ea411691b2e38caa7e186a9a488fd38ef16/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6261656132666139626137303461383061366236393339323161663235636264)](https://www.codacy.com/gh/seeren/error/dashboard?utm_source=github.com&utm_medium=referral&utm_content=seeren/error&utm_campaign=Badge_Grade)[![Version](https://camo.githubusercontent.com/ba260642166bfb37552e9254bfc3f4a97767c5a36b8b4a865391c845da0904e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73656572656e2f6572726f722e737667)](https://packagist.org/packages/seeren/error)

Handle and Log errors

---

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

[](#installation)

```
composer require seeren/error
```

---

### Seeren\\Error\\ErrorLogger

[](#seerenerrorerrorlogger)

Error logger is registred at construction

```
use Seeren\Error\ErrorLogger;

$errorHandler = new ErrorLogger();
```

Default logger is [Seeren\\Log\\Logger\\Daily](https://github.com/seeren/log), log folder is in `/var/log`

```
project/
└─ var/
   └─ log/
```

Prs-3 implementations can be used to log errors

```
new \Seeren\Error\ErrorLogger($psr3Logger);
```

Default PHP error handler will not display messages and every `debug`, `info`, `notice`, `warning`, `errors` will be logged

---

License
-------

[](#license)

This project is licensed under the [MIT](./LICENSE) License

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity72

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

Recently: every ~431 days

Total

6

Last Release

1590d ago

Major Versions

v1.0.2 → v2.0.12017-06-10

v2.0.2 → 3.02020-10-10

3.0 → 4.02022-01-06

PHP version history (4 changes)v1.0.1PHP &gt;=7.0.1

v2.0.2PHP &gt;=7.2.0

3.0PHP &gt;=7.4.0

4.0PHP &gt;=8.0.1

### Community

Maintainers

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

---

Top Contributors

[![seeren](https://avatars.githubusercontent.com/u/17710028?v=4)](https://github.com/seeren "seeren (75 commits)")

---

Tags

errorhandlerloggererrorhandlerlogger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/seeren-error/health.svg)

```
[![Health](https://phpackages.com/badges/seeren-error/health.svg)](https://phpackages.com/packages/seeren-error)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[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)

PHPackages © 2026

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