ouch

Cool errors for PHP nerds

MIT License

Downloads
247
Stars
23
Committers
4

Ouch error handler for PHP

About Ouch :

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.

How it looks like :

HTTP

CLI

Features :

  • 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.

Instalation & Use :

    composer require lotfio/ouch

Use it:

    $ouch = new Ouch\Ouch;
    $ouch->enableErrorHandler($env = 'pro'); // for development use $env = 'dev';

Contributing

Thank you for considering to contribute to Ouch. All the contribution guidelines are mentioned here.

ChangeLog

Here you can find the ChangeLog.

Support the development

Share Ouch and lets get more stars and more contributors.

License

Ouch is an open-source software licensed under the MIT license.