Skip to content
master
Go to file
Code

Latest commit

- Better reports display
- Move from PSR-0 to PSR-4 for source code
- Remove support for PHP 5.4 and test again 7.2
100ea2b

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
src
 
 
 
 
web
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.