Integrates the Whoops library into Pimple whoops
whoops is an error handler base/framework for PHP. Out-of-the-box, it provides a pretty error interface that helps you debug your web projects, but at heart it's a simple yet powerful stacked error handling system.
In your project root folder
composer require texthtml/whoops-pimple ~1.0
- In your Pimple container configuration, register the WhoopsServiceProvider:
$container->register(new \WhoopsPimple\WhoopsServiceProvider);