lotfio / ouch
Ouch Error handler for PHP
0.3.1
2020-05-25 11:52 UTC
Requires
- php: ^7.2
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-12-24 23:45:36 UTC
README
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.