Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

romibuzi/php-metrics-dashboard

Repository files navigation

PhpMetrics Dashboard

Continuously generate PhpMetrics reports (https://github.com/Halleck45/PhpMetrics) for your projects and display them via a web interface.

Build Status

Getting started

Requirements :

  • Linux or Mac
  • PHP 5.6 or 7+
  • Git executable on your machine

Install depedencies via composer :

composer install --no-dev

Edit your configuration :

cp projects.json.dist projects.json

Take a look at projects.json.dist to see a full working example.

Note : all projects must be git repositories. They are cloned in var/projects in order to run PhpMetrics tool on them. Your server must have a ssh authorized key if you want to fetch private repositories (https://help.github.com/articles/generating-ssh-keys/).

Then launch the command which will generate reports (you can put it as a crontask to generate reports of your projects each day, week, or month) :

php /path/to/php-metrics-dashboard/bin/console generate-reports

Reports will be put in web/reports folder.

Finally, setup your favorite webserver to point to web/index.php file (or php -S localhost:8000 -t web/), and you can browse reports of your different projects on the web interface.

Thanks

To Jean-François Lépine http://blog.lepine.pro for this fabulous tool !

About

Continuously generate PhpMetrics reports for your projects and display them with a web interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /