PHPackages                             hws/gitbucketcalendar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hws/gitbucketcalendar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hws/gitbucketcalendar
=====================

1.2(9y ago)3262[3 issues](https://github.com/piokom123/GitBucketCalendar/issues)GPL-3.0+PHP

Since Jan 9Pushed 9y ago2 watchersCompare

[ Source](https://github.com/piokom123/GitBucketCalendar)[ Packagist](https://packagist.org/packages/hws/gitbucketcalendar)[ RSS](/packages/hws-gitbucketcalendar/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

GitBucket Calendar [![Latest Stable Version](https://camo.githubusercontent.com/522e12fecc87da895939580f09e26cb6039770f591d537247e92eb1d4656e676/68747470733a2f2f706f7365722e707567782e6f72672f6877732f6769746275636b657463616c656e6461722f762f737461626c65)](https://packagist.org/packages/hws/gitbucketcalendar) [![Total Downloads](https://camo.githubusercontent.com/126706f4b41ff8e14e551ef97d8953044b52b4cb4a2e00fa9b53b652f8120b6e/68747470733a2f2f706f7365722e707567782e6f72672f6877732f6769746275636b657463616c656e6461722f646f776e6c6f616473)](https://packagist.org/packages/hws/gitbucketcalendar) [![License](https://camo.githubusercontent.com/937d5e8ec3ff72350c8141bd064ca019c1b12fac3123e5a1585684655a0fd4aa/68747470733a2f2f706f7365722e707567782e6f72672f6877732f6769746275636b657463616c656e6461722f6c6963656e7365)](https://packagist.org/packages/hws/gitbucketcalendar)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#gitbucket-calendar---)

Library that allows you to display GitHub and BitBucket contributions in GitHub-like calendar widget.

Installation
============

[](#installation)

Code is available in Packagist repository so installation is as simple as including it in your dependencies.

```
"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.

Examples
========

[](#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).

[![GitBucket](/examples/gitbucket.png?raw=true)](/examples/gitbucket.png?raw=true)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

3456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be0fdba90954d7d1821c3ff847e6fa4d4cd0ccc9b76e38c91a81a2807f381c8c?d=identicon)[Elon Than](/maintainers/Elon%20Than)

---

Top Contributors

[![piokom123](https://avatars.githubusercontent.com/u/1417967?v=4)](https://github.com/piokom123 "piokom123 (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hws-gitbucketcalendar/health.svg)

```
[![Health](https://phpackages.com/badges/hws-gitbucketcalendar/health.svg)](https://phpackages.com/packages/hws-gitbucketcalendar)
```

###  Alternatives

[atelierdisko/coupon_code

PHP library to generate and validate coupon code strings.

60195.8k2](/packages/atelierdisko-coupon-code)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
