hecht-a/ux-echarts

Echarts integration for Symfony

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/hecht-a/ux-echarts

v2.1.0 2026-03-01 21:46 UTC

This package is auto-updated.

Last update: 2026-03-01 21:59:17 UTC


README

Symfony UX ECharts is a bundle for integrating Apache ECharts into your Twig templates, combining PHP, Twig and Stimulus.

Features

  • Fluent PHP API — Options, Serie, Toolbox classes instead of raw arrays
  • Typed serie classes — LineSerie, BarSerie, PieSerie, RadarSerie
  • EChartsFactory — shorthand for the most common chart types
  • Responsive resize via ResizeObserver — enabled by default
  • Export toolbox — PNG/SVG, data view, restore, zoom, magic type
  • #[AsEChart] attribute — pre-configured charts injected into controllers
  • Symfony Profiler integration — ECharts panel in the toolbar
  • Theme support

Installation

composer require hecht-a/ux-echarts
npm install --force

Documentation