Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusion/php-error-reporter
Display stack traces, variables states, and will try to notify you
https://github.com/fusion/php-error-reporter
Last synced: 22 days ago
JSON representation
Display stack traces, variables states, and will try to notify you
- Host: GitHub
- URL: https://github.com/fusion/php-error-reporter
- Owner: Fusion
- License: mit
- Created: 2009-04-10T23:17:48.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-04-10T23:18:37.000Z (over 15 years ago)
- Last Synced: 2024-10-16T08:19:02.946Z (2 months ago)
- Homepage: http://getsatisfaction.com/voilaweb
- Size: 82 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
This is a sub-project that I extracted from the PHP Framework I called 'Lenses' (http://github.com/Fusion/lenses/tree)
This library can be used to display very verbose error reports, including stack traces, variables states, etc.
You may also ask the library to notify you when an error condition arises.
It will try to send you an email and if it fails will ask your users to report the error to you.
Of course you can modify this behaviour.LICENSE:
========See LICENSE.txt
USING THIS PROJECT:
===================How to include this file is up to you. When used in the Lenses framework, it is included in the main index.php file, in the router class:
include('libs/error_reporter.php');
PHP can then be instructed to use this library for all kind of error reporting as follows:
register_shutdown_function('handleShutdown');
set_error_handler("displayErrorScreen");
set_exception_handler("displayExceptionScreen")From now on, if a problem occurs, you should get very specific reports.
SETUP:
======All you need to do is include error_reporter.php found in libs/
HELP!
=====A support community for everything VoilaWeb-related (that's my company) including open-source projects is available at:
http://getsatisfaction.com/voilaweb