https://github.com/lotfio/ouch
:anchor: Cool errors for PHP nerds :anchor:
https://github.com/lotfio/ouch
error-handler error-monitoring error-reporting php
Last synced: 3 months ago
JSON representation
:anchor: Cool errors for PHP nerds :anchor:
- Host: GitHub
- URL: https://github.com/lotfio/ouch
- Owner: lotfio
- License: mit
- Created: 2018-01-15T21:59:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T14:50:16.000Z (almost 5 years ago)
- Last Synced: 2025-04-14T17:41:41.641Z (9 months ago)
- Topics: error-handler, error-monitoring, error-reporting, php
- Language: PHP
- Homepage:
- Size: 559 KB
- Stars: 23
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.





[](https://github.styleci.io/repos/117599927)
## 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 :
```php
composer require lotfio/ouch
```
### Use it:
```php
$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](CONTRIBUTE.md).
## ChangeLog
Here you can find the [ChangeLog](CHANGELOG.md).
## 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](LICENSE).