项目作者: lotfio

项目描述 :
:anchor: Cool errors for PHP nerds :anchor:
高级语言: PHP
项目地址: git://github.com/lotfio/ouch.git
创建时间: 2018-01-15T21:59:38Z
项目社区:https://github.com/lotfio/ouch

开源协议:MIT License

下载


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 :

  1. composer require lotfio/ouch

Use it:

  1. $ouch = new Ouch\Ouch;
  2. $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.