Laravel Charts Package
⚡ Charts - The missing laravel charting library written with PHP 7 with lots of front-ends available.
What is charts?
Charts is a PHP (Laravel) library to handle all the charts in your application. It supports multiple charting libraries and they allow to be loaded over AJAX with a nice loading animation.
It uses a simple API to create all the JS logic for you. You just need to write a few PHP lines :)
Laravel Charts is a charting library for laravel, and it's the only PHP package that's able to generate unlimited combinations of charts out of the box.
Before we go any deep, let me show you how does an example chart look like.
Why a Laravel library?
If you still want to continue, head over the installation.
To install Laravel Charts you'll need composer. Laravel charts require no other dependency so it's really lightweight.
To install it using composer type the following command in your laravel's root folder.
composer require consoletvs/charts:6.*
This will install laravel charts into your existing project.
If you're using Laravel 5.5 or higher you can skip this step
Register the service provider in thefile located at:
config/app.php in the
To publish the default configuration for the library, you'll need to run the following command in the project folder.
php artisan vendor:publish --tag=charts_config