Coder Social home page Coder Social logo

matsinet / gitbucketcalendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piokom123/gitbucketcalendar

0.0 2.0 0.0 47 KB

Displays calendar with your contributions from GitHub and BitBucket repositories

License: GNU General Public License v3.0

PHP 80.30% HTML 19.70%

gitbucketcalendar's Introduction

GitBucket Calendar Latest Stable Version Total Downloads License

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

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

$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

gitbucketcalendar's People

Contributors

piokom123 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.