bbsnly/chartjs-php

Laravel helper for ChartJS 2.0

2.1.1 2018-06-15 03:38 UTC

README

Total Downloads Latest Stable Version License License

For non Laravel projects, please use the 1.2 branch

This package helps you to generate ChartJS element directly in PHP.

Table of Contents

Install

Require this package with composer.

composer require bbsnly/chartjs-php

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Bbsnly\ChartJs\ChartServiceProvider::class,

Requirements

  • php >= 7.0
  • ChartJS >= 2.0

Charts

Also it is possible to use the package with New Charts using the Chart class

Contributing

Thank you for considering contributing to the ChartJS PHP!

License

The ChartJS PHP is open-sourced software licensed under the MIT license.