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.7(4d ago)45.8k↑100%1MITPHPPHP &gt;=8.2CI passing

Since Jun 18Pushed 4d ago1 watchersCompare

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

READMEChangelogDependencies (15)Versions (45)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

58

—

FairBetter than 98% of packages

Maintenance99

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Total

42

Last Release

4d 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 (3 changes)v0.1.0PHP &gt;=7.3

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

v3.0.5PHP &gt;=8.2

### 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 (122 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[grafite/forms

A remarkably magical form package for Laravel.

376.9k1](/packages/grafite-forms)[illuminate/cookie

The Illuminate Cookie package.

244.6M137](/packages/illuminate-cookie)

PHPackages © 2026

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