Download the PHP package jeffersongoncalves/laravel-github-contributions without Composer
On this page you can find all versions of the php package jeffersongoncalves/laravel-github-contributions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/laravel-github-contributions
More information about jeffersongoncalves/laravel-github-contributions
Files in jeffersongoncalves/laravel-github-contributions
Package laravel-github-contributions
Short Description Fetch the GitHub contribution calendar for any login as a flat 0-4 heatmap-cell array, ready to render your own contribution heatmap.
License MIT
Informations about the package laravel-github-contributions

Laravel GitHub Contributions
Fetch the GitHub contribution calendar for any login as a flat 0-4 heatmap-cell array — ready to render your own contribution heatmap. The cells are ordered the same way GitHub renders the calendar: column-major (week-by-week, top→bottom), seven cells per week.
This package returns raw heatmap-cell data. If you instead want ready-made profile SVG cards (stats, top languages, streaks, trophies), use jeffersongoncalves/laravel-github-stats.
Installation
Publish the config file (optional):
Configuration
Add to your .env:
Create a Personal Access Token with the read:user scope.
Config Options
Usage
Each value in cells is a contribution level mapped from GitHub's contributionLevel enum:
| GitHub level | Cell |
|---|---|
NONE |
0 |
FIRST_QUARTILE |
1 |
SECOND_QUARTILE |
2 |
THIRD_QUARTILE |
3 |
FOURTH_QUARTILE |
4 |
When no token is configured (neither github-contributions.token nor services.github.token) or the GitHub API request fails, fetch() returns ['cells' => [], 'total' => 0].
Testing
Static Analysis
Code Formatting
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-github-contributions with dependencies
illuminate/support Version ^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.14.0