An easy way to integrate Charts in Laravel
Charts - A handy little ChartJS package for Laravel apps.
The Grafite Charts package is a tool for integrating ChartJS charts into a Laravel application. It's based off
consoletvs/charts version 6.x.
- PHP 7.3+|8.0+
|Laravel Version||Package Tag||Supported|
|^7.x - ^8.x||2.x||yes|
|^7.x - ^8.x||1.x||no|
È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.
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"
Grafite Charts is open-sourced software licensed under the MIT license
Please add as many details as possible regarding submission of issues and feature requests
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.