Simple Github projects comparision app
https://app.swaggerhub.com/apis/kgruszowski/github-comparator/1.0.0
The application is written with help of Symfony 3 Framework and FOSRestBundle due to REST support.
I’ve decided to use php-github-api to access Github Api, but wrap it with my own abstraction, to adding new Version Control System API’s in future.
As far as good practice concerned I use PHPUnit to write Unit Tests, PHP Messdetector to ensure code quality and Travis-CI to support Continuous Integration process.
At the beginning I’ve planned use User and Repository model to compare two repositories. User model to compare reliability of repo owner and Repository model to compare basic stats like number of stars, watchers, last commit date etc.
Unfortunately due to time shortage, I’ve implemented only Repository metrics comparison. I’ve also planned to use Behat as a framework to write functional tests, but I’ve focused only on unit tests of key components.
Next steps that could be considered to develop app