PHP Classes
elePHPant
Icontem

PHP Error and Exception Handling class: Log PHP exceptions, common and fatal errors

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-03-26 (2 months ago) RSS 2.0 feedStarStarStarStar 68%Total: 578 This week: 2All time: 5,118 This week: 379Up
Version License PHP version Categories
error-exception-hand 2.4GNU General Publi...5.5PHP 5, Debug, Language, Traits
Description Author

This package can log PHP exceptions, common and fatal errors.

It registers an error handler, an exception handler and a shutdown function to catch fatal errors.

When an error is handled, it can either send email, log the error information to a file or display in a Web page.

It can also customize the messages to translate errors and exception codes.

Innovation Award
PHP Programming Innovation award nominee
December 2015
Number 2


Prize: PhpStorm IDE personal permanent license
Tracking PHP errors is fundamental to monitor the stability of a system and detect any bugs that cause problems in production environments.

This class can track not only common errors, but also exceptions and fatal errors that make PHP scripts exit.

It allows assigning special codes to non-standard errors and exceptions, so they can be logged using human readable messages that help understanding and fixing the problems faster.

Manuel Lemos
  Performance   Level  
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 16 packages by
Country: India India
Age: 33
All time rank: 1547 in India India
Week rank: 26 Up6 in India India Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Screenshots  
  • Screenshot
  Files folder image Files  
File Role Description
Accessible without login Plain text file define.inc Conf. Settings
Accessible without login Plain text file ErrorCodes.inc Conf. Contains error codes
Plain text file ErrorExceptionHandler.php Class Handles and logs errors and exceptions
Accessible without login Plain text file example.php Example How to use
Accessible without login Plain text file ExceptionCodes.inc Conf. Contains custom exception codes
Plain text file FrameworkException.php Class Custom exception class
Plain text file IUtilities.php Class This is the type for the utilities classes of MVC framework.
Accessible without login Plain text file README.md Doc. Documentation
Plain text file SingletonTrait.php Class Singleton trait for singleton classes

 Version Control Unique User Downloads Download Rankings  
 90%
Total:578
This week:2
All time:5,118
This week:379Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:446
 
Excellent coding style and very useful.
1 year ago (Gerry Danen)
67%StarStarStarStar