PHPackages                             woody/middleware-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. woody/middleware-whoops

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

woody/middleware-whoops
=======================

Middleware PSR-15 compliant which handle Whoops library

027PHP

Since Jan 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/woody-labs/middleware-whoops)[ Packagist](https://packagist.org/packages/woody/middleware-whoops)[ RSS](/packages/woody-middleware-whoops/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Middleware Whoops
=================

[](#middleware-whoops)

**Whoops** is a nice little library that helps you develop and maintain your projects better, by helping you deal with errors and exceptions in a less painful way.

[![Whoops](https://camo.githubusercontent.com/c49e5f6e5a35b4f3625ecae601437be5155212fa616f214d145205bbcffdf09d/68747470733a2f2f66696c702e6769746875622e696f2f77686f6f70732f73637265656e2e706e67)](https://camo.githubusercontent.com/c49e5f6e5a35b4f3625ecae601437be5155212fa616f214d145205bbcffdf09d/68747470733a2f2f66696c702e6769746875622e696f2f77686f6f70732f73637265656e2e706e67)

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

[](#installation)

To make this middleware work, you need to include the `filp/whoops` in your project.

```
composer require --dev filp/whoops
```

Implementation
--------------

[](#implementation)

Any exception thrown in deeper middleware will be caught by Whoops to generate a dedicated page.

```
// @todo: generate request

$debug = true;

// Dispatch request into middleware stack.
$dispatcher = new Dispatcher($debug);
$dispatcher->pipe(new WhoopsMiddleware(true));
$dispatcher->pipe(new MyAppMiddleware());

// @todo: add other middleware

$response = $dispatcher->handle($request);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e8229439a3d4f53cefbdae10395a2d6f2dea8906c239e87ce840bd459d1ba187?d=identicon)[smalot](/maintainers/smalot)

### Embed Badge

![Health badge](/badges/woody-middleware-whoops/health.svg)

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

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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