Ouch is simple and lightweight ErrorHandler for PHP. It is aimed to help you debug PHP errors in a nice and detailed way. ouch is the Offical @SilverEngine framework error handler.
- Simple and easy to use.
- Transforms all errors to Exceptions.
- Catches all Errors and Exceptions.
- Catches Fatal Errors.
- Displays friendly Html errors.
- Displays friendly console (CLI) errors.
- Zero errors in prduction.
composer require lotfio/ouch
$ouch = new Ouch\Ouch;
$ouch->enableErrorHandler($env = 'pro'); // for development use $env = 'dev';
Thank you for considering to contribute to Ouch. All the contribution guidelines are mentioned here.
Here you can find the ChangeLog.
Share Ouch and lets get more stars and more contributors.
Ouch is an open-source software licensed under the MIT license.