PHPackages                             jpuck/error-exception-handler - 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. jpuck/error-exception-handler

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

jpuck/error-exception-handler
=============================

Convert errors to exceptions and handle them.

0.1.5(8y ago)0179[1 issues](https://github.com/jpuck/error-exception-handler/issues)GPL-3.0-or-laterPHP

Since Apr 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jpuck/error-exception-handler)[ Packagist](https://packagist.org/packages/jpuck/error-exception-handler)[ RSS](/packages/jpuck-error-exception-handler/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (4)Dependencies (2)Versions (8)Used By (0)

PHP Error Exception Handler
===========================

[](#php-error-exception-handler)

Converts errors to exceptions, emails everything, then re-throws exception.

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

[](#installation)

Use [composer](https://getcomposer.org/).

```
composer require jpuck/error-exception-handler

```

This package targets legacy systems running php 5.3.3 so newer systems may conflict with requiring [swift](https://swiftmailer.symfony.com/) 5.

Environment Variables
---------------------

[](#environment-variables)

Set your environment variables, or configure them in an [`.env`](./example.env) file.

Usage
-----

[](#usage)

```
use jpuck\Error\Handler;

Handler::convertErrorsToExceptions();
Handler::swift();
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~68 days

Total

6

Last Release

3085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d3f43ad248cd9c696b067b19e4e18856d78a8b2e4f2c3ee21a1d3d5cead5610?d=identicon)[jpuck](/maintainers/jpuck)

---

Top Contributors

[![jpuck](https://avatars.githubusercontent.com/u/15305396?v=4)](https://github.com/jpuck "jpuck (12 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/jpuck-error-exception-handler/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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