grafite/charts

An easy way to integrate Charts in Laravel

v2.7.0 2024-03-12 14:24 UTC

README

Grafite Charts

Charts - A handy little ChartJS package for Laravel apps.

PHP Package Tests Maintainability Packagist license

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):

Requirements

  1. PHP 7.3+|8.0+

Compatibility and Support

Laravel Version Package Tag Supported
^7.x - ^11.x 2.x yes
^7.x - ^8.x 1.x no

Built From consoletvs/charts 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

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

https://docs.grafite.ca/utilities/charts

License

Grafite Charts is open-sourced software licensed under the MIT license

Bug Reporting and Feature Requests

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

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.