PHP Classes

SVG Debug: Generate debug output documents in SVG

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 628 All time: 5,042 This week: 488Up
Version License Categories
svgdebug 1.0GNU General Publi...HTML, XML, Debug
Description 

Author

This class provides a simple way to generate SVG files that contain debugging information during the execution of a script.

The debugging information that is outputted includes the time and the values of variables passed to the class.

The class can generate multiple SVG files to fit all the information that is stored, as well HTML files that can be used to view the generated SVG files.

Innovation Award
PHP Programming Innovation award nominee
November 2004
Number 4


Prize: One copy of DWeb Pro Lifetime License
SVG is standard XML based format specified by the W3 Consortium to describe vectorial graphics documents.

Since vectorial graphics can be rescaled smoothly without loosing details, it is ideal for tasks that require changing the dimensions of the graphics, like for instance, adjusting the size of the graphics to show them in larger screens or even printing them in high resolution printers.

This class presents an uncommon but interesting application of the generation of SVG documents, that is outputting PHP application debugging information in real time, making it possible to read or print immediately.

Manuel Lemos
Picture of Rafael de Pablo
Name: Rafael de Pablo <contact>
Classes: 3 packages by
Country: Spain Spain
Age: 50
All time rank: 1195 in Spain Spain
Week rank: 164 Down5 in Spain Spain Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file svgdebug.php Class Main Class
Accessible without login Plain text file testsvgdebug.php Example Test Script

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  
 0%
Total:628
This week:0
All time:5,042
This week:488Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:60%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2955