PHPackages                             org\_heigl/error\_focus - 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. org\_heigl/error\_focus

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

org\_heigl/error\_focus
=======================

Remove messages from the error log that are from a certain folder

0.2.0(2y ago)82[1 PRs](https://github.com/heiglandreas/error_focus/pulls)MITPHPPHP ~5.6|^7.0|^8.0

Since Nov 13Pushed 2y ago4 watchersCompare

[ Source](https://github.com/heiglandreas/error_focus)[ Packagist](https://packagist.org/packages/org_heigl/error_focus)[ RSS](/packages/org-heigl-error-focus/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

Error-Focus
===========

[](#error-focus)

A package to stay focused on relevant entries in your error-log

Scope
-----

[](#scope)

This package allows you to declare folders that are not under your development and that you have therefore no way of fixing errors in. Errors or Warnings or notices that are raised within those declared folders will not be logged to your error-log any more tso that you can concentrate on the tasks that you can actually fix and don't have your error log fill up with stuff that others broke.

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

[](#installation)

The base installation is done via composer

```
$ composer require org_heigl/error_focus
```

After that you will have to set up the package in your bootstrap file.

```
\Org_Heigl\ErrorFocus\ErrorFocus::init([
    __DIR__ . '/../vendor',
]);
```

That's it. Now every message from a file within your vendor-folder will not hit your error-log any more.

You can add more than one folder to this configuration.

**CAVEAT**: This will set an error-handler. If you need to set another error handler afterwards you will overwrite this one!

In that case you might want to use this slightly different setup:

```
\Org_Heigl\ErrorFocus\ErrorFocus::init([
    __DIR__ . '/../vendor',
], [
    [$myErrorHandlerInstance, 'myErrorHandlerMethod'],
    $myInvocableInstance,
    [MyStaticErrorHandler::class, 'myStaticErrorHandlerMethod'],
])
```

Feedback
--------

[](#feedback)

Please leave feedback on the issue-tracker at [https://github.com/heiglandreas/error\_focus](https://github.com/heiglandreas/error_focus)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

2

Last Release

906d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ae5183aaad2bc7453230704bd6991dc6ccbcd6e775c6a29efdc94350a69f247?d=identicon)[heiglandreas](/maintainers/heiglandreas)

---

Top Contributors

[![heiglandreas](https://avatars.githubusercontent.com/u/91998?v=4)](https://github.com/heiglandreas "heiglandreas (9 commits)")

### Embed Badge

![Health badge](/badges/org-heigl-error-focus/health.svg)

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

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