PHP Classes

PHP Debugger and Logger: Catch PHP errors and log messages

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 698 All time: 4,697 This week: 206Up
Version License PHP version Categories
ptc-debug 0.9.3GNU General Publi...5.3PHP 5, Debug, Logging
Description 

Author

This class can catch PHP errors and log messages.

It can append to log files messages with values of variables and other types of messages like SQL queries.

The class can also catch fatal and non-fatal PHP errors and log them.

It can also watch a given variable and log messages when it changes.

The class can keep track of the time that elapses between each event moment.

It can also check which lines of code have been executed and trace function calls.

Picture of Carlo Pietrobattista
  Performance   Level  
Name: Carlo Pietrobattista <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 45
All time rank: 121647 in Italy Italy
Week rank: 256 Up11 in Italy Italy Up

Screenshots (4)  
  • messages-panel.jpg
  • code-coverage.jpg
  • function-calls-trace.jpg
  • php_console_1024.png
  Files folder image Files (6)  
File Role Description
Files folder imageexamples (1 file)
Plain text file PtcDebug.php Class Main class

  Files folder image Files (6)  /  examples  
File Role Description
  Accessible without login Plain text file ptcdebug-ex.php Example example file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 33%
Total:698
This week:0
All time:4,697
This week:206Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1517
 
good
11 years ago (Rahul Shambharkar)
70%StarStarStarStar