matheusmarnt/livecharts
LiveCharts is a reactive chart abstraction for Laravel using a pure PHP fluent API. Build 18 chart types and render via a single Livewire component. Supports ApexCharts and Chart.js with pluggable engines, enabling easy updates without JS boilerplate.
RevenueChart, TrafficChart) for consistent reporting templates.php artisan livecharts:preview for testing).For Executives: "LiveCharts lets us build real-time data visualizations in Laravel without writing JavaScript*. By unifying ApexCharts and Chart.js behind a PHP API, we can ship interactive dashboards faster, reduce frontend dependencies, and ensure consistency across light/dark themes. For example:
For Engineering: *"LiveCharts solves three key pain points:
LiveCharts::line()->labels()->dataset()) and render them with a single Livewire component. No more context-switching between JS and PHP.$chart->poll(5000)->onDataPointClick('chart-clicked');
The Livewire component subscribes to wire:poll and dispatches events to parent components.dark:/light: named args ensure charts re-color instantly when users toggle dark mode—no Livewire roundtrip.
Trade-offs:php artisan livecharts:install) for local-first delivery (default: local + CDN fallback).
Proposal: Use it for [specific feature] to validate the API. If successful, we can standardize it for all new dashboards. The make:chart command even generates reusable classes (e.g., RevenueChart)."*For Design/UX: *"LiveCharts ensures our data visualizations are:
<html class="dark">.->colors() or ->palette() methods."*How can I help you explore Laravel packages today?