Ouch error handler for PHP

ouch

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.

licence language version coverage build StyleCI

How it looks like :

HTTP

http-error

CLI

cli-error

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.

Ouch

:anchor: Cool errors for PHP nerds :anchor:

Ouch Info

⭐ Stars 19
🔗 Source Code github.com
🕒 Last Update a year ago
🕒 Created 4 years ago
🐞 Open Issues 0
➗ Star-Issue Ratio Infinity
😎 Author lotfio