PHPackages                             xuanchen/laravel-echarts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. xuanchen/laravel-echarts

ActiveLibrary

xuanchen/laravel-echarts
========================

Build ECharts using laravel

1.0.3(3y ago)025MITPHPPHP &gt;=7.1.3

Since May 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xuanchen120/laravel-echarts)[ Packagist](https://packagist.org/packages/xuanchen/laravel-echarts)[ Docs](https://github.com/xuanchen120/laravel-echrts.git)[ RSS](/packages/xuanchen-laravel-echarts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

laravel echarts
===============

[](#laravel-echarts)

Build ECharts using laravel

Install
-------

[](#install)

```
composer require xuanchen/laravel-echarts

```

Usage
-----

[](#usage)

In your php file or block:

```
$chart = app('chart')->locale('ZH')
    ->addSeries([
        'name' => 'Series #1',
        'type' => 'line',
        'data' => [1, 3, 2, 2, 4, 12, 5]
    ])
    ->addSeries([
        'name' => 'Series #2',
        'type' => 'line',
        'data' => [3, 1, 3, 4, 2, 11, 3]
    ])
    ->xAxis(['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'])
    ->yAxis()
    ->legend() // 自动根据 series names 设置 legend
    ->lazy(); // 懒加载
```

In your `blade` file

```

    {!! $chart->render() !!}

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Total

4

Last Release

1336d ago

PHP version history (2 changes)1.0PHP ^7.0

1.0.1PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3ba5b49545b6397f328343f772964ddc7ea72e958b2916b7de7bb5e09489861?d=identicon)[xuanchen](/maintainers/xuanchen)

---

Top Contributors

[![xuanchen120](https://avatars.githubusercontent.com/u/26396567?v=4)](https://github.com/xuanchen120 "xuanchen120 (6 commits)")

---

Tags

laravelchartsecharts

### Embed Badge

![Health badge](/badges/xuanchen-laravel-echarts/health.svg)

```
[![Health](https://phpackages.com/badges/xuanchen-laravel-echarts/health.svg)](https://phpackages.com/packages/xuanchen-laravel-echarts)
```

###  Alternatives

[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
