“Whoops!” is a PHP errors handler. It’s really simple to use and help you easy debug code.
Any PHP errors can you analyze on one pretty site with many usually information.
Compare two error Pages. Which looks better?
Standard error page:
Here find you live demo:
You can install this framework in two easy steps.
- Install Whoops using Composer:
composer require filp/whoops
- Register in yours code:
$whoops = new \Whoops\Run; $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); $whoops->register();
Thats it! Now can you enjoy new error pages.
For more info visit the official site: