PHPackages                             dhazelett/stack-whoops - 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. dhazelett/stack-whoops

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

dhazelett/stack-whoops
======================

Stack Middleware for Whoops, the cool kids error handler.

v1.0.2(11y ago)020MITPHP

Since Jan 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dhazelett/stack-whoops)[ Packagist](https://packagist.org/packages/dhazelett/stack-whoops)[ RSS](/packages/dhazelett-stack-whoops/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Stack-Whoops
============

[](#stack-whoops)

Stack Middleware for Whoops, the cool kids error handler.

Warning!
--------

[](#warning)

This Middleware has no tests. I really just wanted a middleware for whoops+stack. *feel free to send a PR with tests if it's that important*

Usage
-----

[](#usage)

```
use Silex\Application;
use Stack\Builder;

require_once '../app/config/bootstrap.php';

$app = new Application($config);

$stack = (new Builder)
    ->push('Saphire\Middleware\Whoops', [
        // STRING! name of the \Whoops\Handler\* to use
        'handler' => '\Whoops\Handler\PrettyPageHandler'
    ])
;

// Try it out
$app->get('/', function() {
    throw new \Exception('Oh No!');
});

$server = $stack->resolve($app);

$response = $server->handle($request)->send();

$server->terminate($request, $response);
```

###### MIT License

[](#mit-license)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

4131d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e5ef34e9f96f24197a186dd76e3835681443682e2e05a30daaae7b51c3d8437?d=identicon)[dhazelett](/maintainers/dhazelett)

---

Top Contributors

[![dhazelett](https://avatars.githubusercontent.com/u/9557399?v=4)](https://github.com/dhazelett "dhazelett (2 commits)")

---

Tags

exceptionerrorhandlingwhoopsstacksilexstack middleware

### Embed Badge

![Health badge](/badges/dhazelett-stack-whoops/health.svg)

```
[![Health](https://phpackages.com/badges/dhazelett-stack-whoops/health.svg)](https://phpackages.com/packages/dhazelett-stack-whoops)
```

###  Alternatives

[filp/whoops

php error handling for cool kids

13.2k402.4M1.4k](/packages/filp-whoops)[ikkez/f3-falsum

Pretty error handling for Fat-Free Framework

21145.8k3](/packages/ikkez-f3-falsum)[kuria/error

Makes handling and debugging PHP errors suck less

1920.0k2](/packages/kuria-error)[topshelfcraft/canary

The kinder, cuter, cleverer Craft error handler.

114.4k](/packages/topshelfcraft-canary)

PHPackages © 2026

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