PHPackages                             m50/laravel-git-contributions-calendar - 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. [Templating &amp; Views](/categories/templating)
4. /
5. m50/laravel-git-contributions-calendar

ActiveLibrary[Templating &amp; Views](/categories/templating)

m50/laravel-git-contributions-calendar
======================================

A Blade directive to display a contribution calendar, as found on Github/Gitlab.

v0.1.1(6y ago)00MITPHPPHP ^7.2CI failing

Since Oct 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/m50/laravel-git-contributions-calendar)[ Packagist](https://packagist.org/packages/m50/laravel-git-contributions-calendar)[ Docs](https://github.com/m50/laravel-git-contributions-calendar)[ RSS](/packages/m50-laravel-git-contributions-calendar/feed)WikiDiscussions trunk Synced 3w ago

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

Render Git contributions from Gitlab and/or Github in a Blade file
==================================================================

[](#render-git-contributions-from-gitlab-andor-github-in-a-blade-file)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d8470f4cd50d70af30266a31dd878d36ac5640d31b6179302015210bad795a60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d35302f6c61726176656c2d6769742d636f6e747269627574696f6e732d63616c656e6461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m50/laravel-git-contributions-calendar)[![Build Status](https://camo.githubusercontent.com/d28fa69591cf5884a3328ec91a412c99e2829df5294b64355a6851f4a549d8b8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d35302f6c61726176656c2d6769742d636f6e747269627574696f6e732d63616c656e6461722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/m50/laravel-git-contributions-calendar)[![StyleCI](https://camo.githubusercontent.com/60406a20de06e57b40628298c0e3b3ea88cc928d5250c2a9186b974450a15514/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3231373633333831312f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/217633811)[![Total Downloads](https://camo.githubusercontent.com/0c52aa6a642bb6cf5a1fba21ea678a40db34c62dad28a9f2113a7b69ee5ec4eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d35302f6c61726176656c2d6769742d636f6e747269627574696f6e732d63616c656e6461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m50/laravel-git-contributions-calendar)

Allows rendering of a calendar in blade with your git contributions.

An example of what it can look like: [![Screenshot](images/screenshot.png)](images/screenshot.png)

Install
-------

[](#install)

First install the package and publish the files:

```
composer install m50/laravel-git-contributions-calendar
php artisan vendor:publish
```

Add the Service Provider:

```
m50\GitCalendar\Providers\ContribCalendarServiceProvider::class,
```

Usage
-----

[](#usage)

You will want to rely on caching, because of the roundtrip time for the requests. It's important to add the schedules job:

```
$schedule->job(new CacheEventData(app(GithubApi::class)))
    ->daily();
```

Then it's also recommended that where you are pulling the data (your controller for example) to kick off a new queue job to re-cache the data:

```
$data = Cache::get(
    'git-contrib-data',
    function () {
        $this->dispatch(new CacheEventData(app(GithubApi::class)));
        return new GitData();
    }
);
if (app()->environment('Production')) {
    $this->dispatch(new CacheEventData(app(GithubApi::class)));
}
```

*Note: The default view relies on [TailwindCSS](https://tailwindcss.com/).*

Credits
-------

[](#credits)

- [Marisa Clardy](https://github.com/m50)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2438d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3577147?v=4)[Marisa](/maintainers/m50)[@m50](https://github.com/m50)

---

Top Contributors

[![m50](https://avatars.githubusercontent.com/u/3577147?v=4)](https://github.com/m50 "m50 (18 commits)")

---

Tags

bladecachecalendarcontributionsgitlaraveltailwindlaravelbladecachetailwindgitcalendarcontributionsm50laravel-git-contributions-calendar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m50-laravel-git-contributions-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/m50-laravel-git-contributions-calendar/health.svg)](https://phpackages.com/packages/m50-laravel-git-contributions-calendar)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M292](/packages/laravel-horizon)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M125](/packages/roots-acorn)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k55.0M607](/packages/laravel-scout)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M129](/packages/laravel-pulse)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M208](/packages/illuminate-broadcasting)

PHPackages © 2026

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