umpirsky / oregon
Statistics library for open source organizations.
Requires
- php: >=5.3.2
- athari/yalinqo: *
- knplabs/github-api: ~1.4
- knplabs/packagist-api: ~1.0
Requires (Dev)
- phpspec/phpspec2: dev-develop
This package is not auto-updated.
Last update: 2024-10-26 15:03:26 UTC
README
symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliterator
Oregon
Statistics library for open source organizations.
It can fetch and aggregate various information about organization from GitHub and Packagist.
Usage
Get contributors:
<?php (new Oregon\Oregon('Sylius'))->getContributors();
This will merge GitHub contributors for all repositories in Sylius organization sorted by number of contributions.
Get downlod count:
<?php (new Oregon\Oregon('Sylius'))->getDownloads();
This will sum download count for all packages from Sylius vendor fetched from Packagist.
See more examples.
Installation
The recommended way to install Oregon is through composer:
{ "require": { "umpirsky/oregon": "0.1.*" } }