Download the PHP package akaunting/laravel-apexcharts without Composer
On this page you can find all versions of the php package akaunting/laravel-apexcharts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-apexcharts
ApexCharts package for Laravel
This package allows you to generate modern and interactive charts using the ApexCharts library directly from Laravel
without interacting with JavaScript, CSS, etc.
It covers all of the chart types and options available within the ApexCharts
library.
Check out the Akaunting project to see it live.
Getting Started
1. Install
Run the following command:
2. Publish
Publish configuration
3. Configure
You can change the chart settings of your app from config/apexcharts.php
file
Usage
Blade
Create an instance of the Chart
class and set the data and options according to your needs.
Then, include the JavaScript (on every page using charts).
Finally, call the container
and script
method wherever you want to display the chart.
Vue
If you're using Vue and Inertia, install Apexcharts and their Vue 3 adapter:
Then, create a simple chart.vue
component:
Create an instance of Chart
and call toVue()
before passing it to your page:
Finally, render the chart:
Testing
Changelog
Please see Releases for more information what has changed recently.
Contributing
Pull requests are more than welcome. You must follow the PSR coding standards.
Security
Please review our security policy on how to report security vulnerabilities.
Credits
- Cüneyt Şentürk
- All Contributors
License
The MIT License (MIT). Please see LICENSE for more information.
All versions of laravel-apexcharts with dependencies
ext-json Version *
balping/json-raw-encoder Version ^1.0
illuminate/support Version ^9.0|^10.0|^11.0