PHPackages                             grafite/charts - 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. grafite/charts

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

grafite/charts
==============

An easy way to integrate Charts in Laravel

v3.0.4(3mo ago)45.5k↓20%1MITPHPPHP &gt;=7.3|&gt;=8.0CI passing

Since Jun 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/GrafiteInc/Charts)[ Packagist](https://packagist.org/packages/grafite/charts)[ RSS](/packages/grafite-charts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (42)Used By (1)

[![Grafite Charts](GrafiteCharts-banner.png)](GrafiteCharts-banner.png)

**Charts** - A handy little ChartJS package for Laravel apps.

[![Build Status](https://github.com/GrafiteInc/Charts/actions/workflows/php-package-tests.yml/badge.svg?branch=main)](https://github.com/GrafiteInc/Charts/actions/workflows/php-package-tests.yml)[![Maintainability](https://camo.githubusercontent.com/2a609d7bacb8950eadd92208c9e6cd1ec3eff698021bb6960888a4f4508f0104/68747470733a2f2f716c74792e73682f6261646765732f32343864313163632d363034302d346531612d393633352d6161653965623166613138372f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/GrafiteInc/projects/Charts)[![Packagist](https://camo.githubusercontent.com/89a8be41204be48419ec6134b6e5c7aa029af3c5cef4aed4b5fa0b1e6606623a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677261666974652f6368617274732e737667)](https://packagist.org/packages/grafite/charts)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/grafite/charts)

The Grafite Charts package is a tool for integrating ChartJS charts into a Laravel application. It's based off `consoletvs/charts` version 6.x.

##### Author(s):

[](#authors)

- [Matt Lantz](https://github.com/mlantz) ([@mattylantz](http://twitter.com/mattylantz), mattlantz at gmail dot com)

Requirements
------------

[](#requirements)

1. PHP 7.3+|8.0+

Compatibility and Support
-------------------------

[](#compatibility-and-support)

Laravel VersionPackage TagSupported^7.x - ^12.x2.xyes^7.x - ^8.x1.xnoBuilt From consoletvs/charts and Why
------------------------------------

[](#built-from-consoletvscharts-and-why)

Èrik Campobadal Forés created an awesome package for Laravel charts. Version 7.0 appeared to switch to a whole new chart library and it appears he will be primarily maintaining the 7.x branch. This is inspired by his 6.x version of the package and makes various adjustments including reducing it to only ChartJS support.

### Installation

[](#installation)

Start a new Laravel project:

```
composer create-project laravel/laravel your-project-name
```

Then run the following to add Grafite Charts

```
composer require "grafite/charts"
```

Documentation
-------------

[](#documentation)

License
-------

[](#license)

Grafite Charts is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

### Bug Reporting and Feature Requests

[](#bug-reporting-and-feature-requests)

Please add as many details as possible regarding submission of issues and feature requests

### Disclaimer

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

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 ~53 days

Recently: every ~112 days

Total

39

Last Release

114d ago

Major Versions

v0.5.2 → v1.0.02021-05-08

v1.0.1 → v2.0.02021-05-10

v2.8.2 → v3.0.02024-10-30

PHP version history (2 changes)v0.1.0PHP &gt;=7.3

v2.2.1PHP &gt;=7.3|&gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/81d026d950739c978b844ac79e6b454e7fedc95ceffdcc4da09893c2497c7255?d=identicon)[mlantz](/maintainers/mlantz)

---

Top Contributors

[![mlantz](https://avatars.githubusercontent.com/u/1065551?v=4)](https://github.com/mlantz "mlantz (108 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/grafite-charts/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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