PHPackages                             toxygene/pale - 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. toxygene/pale

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

toxygene/pale
=============

PHP error to exception trap library

1.0.0(8y ago)019BSD-3-ClausePHPPHP &gt;=5.6

Since Sep 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/toxygene/pale)[ Packagist](https://packagist.org/packages/toxygene/pale)[ RSS](/packages/toxygene-pale/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Pale
====

[](#pale)

Pale is a simple PHP &gt;=5.6 library that allows a developer to easily convert errors to exceptions without having to worry about the details of changing and restoring error handlers.

Usage
-----

[](#usage)

```
use function Pale\run;

try {
    run(function() {
        trigger_error("this will become an exception");
    });
} catch(ErrorException $e) {
    var_dump($e);
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

Unknown

Total

1

Last Release

3218d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/350210?v=4)[Justin Hendrickson](/maintainers/toxygene)[@toxygene](https://github.com/toxygene)

---

Top Contributors

[![toxygene](https://avatars.githubusercontent.com/u/350210?v=4)](https://github.com/toxygene "toxygene (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/toxygene-pale/health.svg)

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

###  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.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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