dettbarn / dependencygraph
Analyse and visualise the PHP class structure obtained from PhpMetrics
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/dettbarn/dependencygraph
Requires
- graphp/graphviz: 1.*
Requires (Dev)
README
Setup
Just run composer install.
How to run
In script/readPhpMetrics.php, configure the graph depth (MAX_DEPTH) and name patterns.
Then run php script/readPhpMetrics.php ../path/to/classes.js 'Name\Of\Root\Class' ../path/to/package_relations.html 'Root\Package' with your suitable parameters. The graphs should be saved in an output folder, see example below.
Customize output
You can customize more colors in the defaultVertex method.
For more customizations, check out the Graphp library.
