2017 © Pedro Peláez
 

library gitbucketcalendar

image

hws/gitbucketcalendar

  • Wednesday, January 11, 2017
  • by Elon Than
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

GitBucket Calendar Latest Stable Version Total Downloads License

Library that allows you to display GitHub and BitBucket contributions in GitHub-like calendar widget., (*1)

Installation

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)

Examples

$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)

GitBucket, (*5)

The Versions

11/01 2017

dev-master

9999999-dev

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

11/01 2017

1.2

1.2.0.0

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

09/01 2017

1.1

1.1.0.0

  Sources   Download

GPL-3.0+

The Requires

 

09/01 2017

1.0

1.0.0.0

  Sources   Download

GPL-3.0+

The Requires