Download the PHP package digitalkaoz/github-contributions-bundle without Composer
On this page you can find all versions of the php package digitalkaoz/github-contributions-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitalkaoz/github-contributions-bundle
More information about digitalkaoz/github-contributions-bundle
Files in digitalkaoz/github-contributions-bundle
Package github-contributions-bundle
Short Description Symfony2 Bundle to show Github Contributions
License MIT
Informations about the package github-contributions-bundle
GithubContributionsBundle
This Bundle lets you display some Github Statistics in your Symfony2 Application. See https://help.github.com/articles/viewing-contributions for more Information.
Contribution Calendar
Repositories & Contributions
Installation
Add the Bundle with Composer
For Caching add "liip/doctrine-cache-bundle": "~1.0"
as well!
Then update your Dependencies: php composer.phar update
Activate the Bundle in your AppKernel
Include the Routing File in your routing.yml
Configuration
the full configuration looks like this:
Usage
View the Statistics
- visit
/github/contributions
to view a list of repositories you have contributed to - visit
/github/repos
to view a list of your own repositories - visit
/github/activity
to view your contribution calendar (like the github one)
Generate the Caches
the calculation of your contributions may take a while, so i build some commands to generate the caches eagerly from your console/cronjobs.
- run
app/console github:contribution-update contribution digitalkaoz
to update the contributions cache fordigitalkaoz
- run
app/console github:contribution-update repos digitalkaoz
to update the repos cache fordigitalkaoz
- run
app/console github:contribution-update activity digitalkaoz
to update the activity cache fordigitalkaoz
Tests
everything is well tested and under CI:
- https://travis-ci.org/digitalkaoz/GithubContributionsBundle
- https://scrutinizer-ci.com/g/digitalkaoz/GithubContributionsBundle/
- https://insight.sensiolabs.com/projects/a74d75ea-6aa5-4cf9-95dd-db4afbb5b2dc
TODO
- other useful stats?
- more generic approach for hooking own stats collectors?
All versions of github-contributions-bundle with dependencies
symfony/framework-bundle Version ~2.1
knplabs/github-api Version ~1.1