dev-master
9999999-dev
GPL-3.0+
The Requires
The Development Requires
1.2
1.2.0.0
GPL-3.0+
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Library that allows you to display GitHub and BitBucket contributions in GitHub-like calendar widget., (*1)
Code is available in Packagist repository so installation is as simple as including it in your dependencies., (*2)
"require": {
"hws/gitbucketcalendar": "1.2.*"
}
After that you have to run (and preferably add to your crontab) script from ./examples/cron.php to fetch data., (*3)
$repo = new GitBucketCalendar\GitBucketCalendar([
'bitbucket_key' => '',
'bitbucket_secret' => '',
'bitbucket_commit_usernames' => [
''
],
'github_account_username' => '',
'memcached_host' => 'localhost',
'memcached_port' => 11211
]);
$repo->printContributionsCalendar();
bitbucket_commit_usernames contains array with all usernames used for commits that should be counted in.
github_account_username is GitHub usernames (exacly like used in profile URL)., (*4)
, (*5)
GPL-3.0+
GPL-3.0+