PHPackages                             thestormwinter/errorhandler - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. thestormwinter/errorhandler

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

thestormwinter/errorhandler
===========================

Library is for handling E\_\* errors as \*Exceptions

v1.1.2(6y ago)0296MITPHPPHP ^7.1

Since Jan 24Pushed 6y agoCompare

[ Source](https://github.com/theStormWinter/ErrorHandler)[ Packagist](https://packagist.org/packages/thestormwinter/errorhandler)[ RSS](/packages/thestormwinter-errorhandler/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

theStormwinter\\ErrorHandler
============================

[](#thestormwintererrorhandler)

[![Build Status](https://camo.githubusercontent.com/5cb180133c4224e73078700c57c1dc3c77ee6e26ffeb45fe1ac60c3053479d12/68747470733a2f2f7472617669732d63692e636f6d2f74686553746f726d57696e7465722f4572726f7248616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thestormwinter/errorhandler)

This handler creates an \***Exception** instead od **E\_**\*

### Requirements

[](#requirements)

```
PHP 7.1+

```

### Installing

[](#installing)

Add to your `composer.json` file:

```
{
    "require": {
        "thestormwinter/errorhandler": "*"
    }
}

```

Or you can execute with composer:

```
composer require thestormwinter/errorhandler

```

Usage
-----

[](#usage)

Usage is really easy:

```

$this->handler = new \theStormwinter\ErrorHandler\ErrorHandler;
$this->handler->enable();

try{
...
ask for undefined variable
...
}catch(\theStormwinter\Exceptions\NoticeException $e){

echo $e->getMessage();
}

```

If you want to disable this handler and use default:

```
$this->handler->disable();

```

Changelog
---------

[](#changelog)

**1.1.0**

- Changed Exceptions namespaces
- Method enable() is now public and deleted constructor

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).

Authors
-------

[](#authors)

- **Jiří Zima** - [theStormwinter](https://github.com/thestormwinter)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

2263d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42857353?v=4)[Stormwinter](/maintainers/theStormwinter)[@theStormWinter](https://github.com/theStormWinter)

---

Top Contributors

[![theStormWinter](https://avatars.githubusercontent.com/u/42857353?v=4)](https://github.com/theStormWinter "theStormWinter (15 commits)")

### Embed Badge

![Health badge](/badges/thestormwinter-errorhandler/health.svg)

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

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.4k](/packages/spatie-craft-ray)

PHPackages © 2026

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