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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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