Whoops – A Library For Better PHP Error Reporting

Whoops is a PHP library for handling errors and debugging them much easily.

The library provides stack-based error handling with a good-looking error interface.

PHP Error Reporting Library - Whoops

It has a simple API for dealing with exceptions, trace frames + their data and can integrate with any framework (ready-to-use integrations exist for end and Silex).

Whoops has no dependencies to run and has the ability to open referenced files directly in your editor and IDE.

  • I would recommend using the Symfony/Debug component which does the same thing and very well maintained.


  • Thanks for sharing this resource. I am thinking to give it a try. I am not sure how it will work but it sounds good

  • Whoops is realy nice php library for php developer. Thanks for sharing.