PHP Classes

Code Graph: Generate call graphs of PHP code with GraphViz

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-04 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 999 All time: 3,430 This week: 1,182Up
Version License PHP version Categories  
code-graph 0.1BSD License4Utilities and Tools, Language
Description Author  

This packages can be used to generate call graphs of PHP code with GraphViz.

There is one class that can generate diagrams in the GraphViz DOT format from a list of called or uncalled functions.

Additional functions can parse given PHP scripts to extract the list of functions in the code to generate the call tree graph.

Innovation Award  
PHP Programming Innovation award nominee
January 2011
Number 3

Prize: One downloadable e-book of choice by Manning
Sometimes it is useful to see which code is being used or not used in your applications. One way to see that information is to generate visual code call graphs.

This package implements a solution to generate call graphs from PHP code in GraphViz format. The generated GraphViz files can be viewed or rendered in many graphical formats.

Manuel Lemos
Picture of Colin McKinnon
Name: Colin McKinnon <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 159470 in United Kingdom United Kingdom
Week rank: 1579 Up62 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

  • self
  Files folder image Files  
File Role Description
Plain text file Class includeable parser/generator
Plain text file example1.php Example Usage example
Plain text file example2.php Example Usage example
Plain text file example3.php Example Usage example
Image file key.jpg Screen Illustrates how content is rendered
Plain text file parse_gen.php Example source code and front end
Plain text file README Doc. instructions

 Version Control Unique User Downloads Download Rankings  
 0%Total:999All time:3,430
 This week:0This week:1,182Up
 User Comments (2)