Whoops is a PHP library that improves the debugging experience by handling uncaught exceptions and presenting beautiful error pages. Instead of a cryptic “fatal error,” Whoops catches the exception and renders a detailed stack trace with syntax-highlighted code snippets, variable values, and clickable frames to navigate between calls. It can be integrated into frameworks or standalone scripts so developers consistently get readable, informative pages during development. Beyond error pages, Whoops supports custom handlers, logging, and filtering so exceptions can be gracefully transformed or reported. Because it only activates in development by default, it avoids revealing internal application state in production. Developers use Whoops to shorten debugging cycles, reduce the frustration of tracing issues, and maintain cleaner error surfaces across applications.

Features

  • Visually appealing, readable error pages out-of-the-box
  • Stacked error handling allowing multiple layered handlers
  • Integrates easily as a Composer package
  • Developer-tuned interface for quick debugging feedback
  • Extensible and integrates with frameworks like Laminas Expressive
  • Configurable for production vs. development behavior

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Whoops

Whoops Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Whoops!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2025-09-10