.. _report-phpcity: Phpcity +++++++ Phpcity _______ The Phpcity report represents your code as a city. Phpcity is a code visualisation tool : it displays the source code as a city, with districts and buildings. Ther will be high sky crappers, signaling large classes, entire districts of small blocks, large venues and isolated parks. Some imagination is welcome too. The original idea is Richard Wettel's `Code city `_, which has been adapted to many languages, including PHP. The PHP version is based on the open source `PHPcity project `_, which is itself build with `JScity `_. To use this tool, run an exakat audit, then generate the 'PHPcity' report : `php exakat.phar report -p mycode -format PHPcity -v` This generates the `exakat.phpcity.json` file, in the `projects/mycode/` folder. You may test your own report online, at `Adrian Huna `_'s website, by `uploading the results `_ and seeing it live immediately. Or, you can install the `PHPcity `_ application, and load it locally. .. image:: ../images/report.phpcity.png :alt: Example of a Phpcity report (0) Specs _____ +--------------+------------------------------------------------------------------+ | Short name | Phpcity | +--------------+------------------------------------------------------------------+ | Rulesets | Phpcity doesn't depend on rulesets. | | | | | | | +--------------+------------------------------------------------------------------+ | Type | JSON | +--------------+------------------------------------------------------------------+ | Target | This report is written in 'exakat.phpcity.json'. | +--------------+------------------------------------------------------------------+ | Available in | `Entreprise Edition `_ | +--------------+------------------------------------------------------------------+