# Whoops

> PHP error handler framework with a readable debug error page

Source: https://talira.ai/catalog/whoops-0wj7hsvy
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / debugging](https://talira.ai/categories/developer-tools/debugging), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Filipe Dobreira](https://talira.ai/orgs/filipe-dobreira.md)

Whoops is an error handler framework for PHP. Out of the box it shows a detailed error page for debugging web projects, with the stack trace and its frames, and links that open the referenced files in your editor or IDE. Underneath it's a stack of handlers, so the same error can be logged, returned as JSON, XML or SOAP, or passed to your own code. It has no required dependencies beyond psr/log, and [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md) and Mezzio ship with it; community packages integrate it with Slim, CakePHP, Yii, Laminas and PSR-7 or StackPHP middleware.

## Links

- Website: https://filp.github.io/whoops/
- GitHub: https://github.com/filp/whoops
- Docs: https://github.com/filp/whoops/tree/master/docs

## Problems it solves

- see a readable stack trace when my PHP app throws an exception
- return PHP errors as JSON from an API during development
- open the file and line of a PHP error straight in my editor

## Features

- Detailed error page with the stack trace and its frames
- Stack-based handlers for exceptions and errors
- Opens referenced files in your editor or IDE
- Handlers for JSON, XML and SOAP responses
- Bundled with Laravel and Mezzio

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 0.71, adoption 0.82, momentum 0.58, community 0.89, backing 0.30, extensibility 0.00.

- last commit 20 days ago
- 17 commits in the last 90 days
- 13.2k GitHub stars
- 163 contributors
- accepts sponsorship (Github)
- backed by Filipe Dobreira

## Related

- Works with [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md)

## Alternatives

- [Collision](https://talira.ai/catalog/collision-z8qf4pds.md): Readable error reports for PHP command-line apps
- [Tracy](https://talira.ai/catalog/tracy-nthrrq53.md): PHP debugger: clear error pages, a debug bar, variable dumps and production error logging

## Sources

[^1]: https://github.com/filp/whoops/blob/master/LICENSE.md (checked 28 Nov 2026)
