PHPackages                             energieproduction/chart - 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. [Templating &amp; Views](/categories/templating)
4. /
5. energieproduction/chart

ActiveLibrary[Templating &amp; Views](/categories/templating)

energieproduction/chart
=======================

Chart service for Highcharts

v0.1(8y ago)7372[1 issues](https://github.com/EnergieProduction/Chart/issues)[1 PRs](https://github.com/EnergieProduction/Chart/pulls)MITPHPPHP &gt;=5.4.0

Since Sep 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/EnergieProduction/Chart)[ Packagist](https://packagist.org/packages/energieproduction/chart)[ Docs](https://github.com/energieproduction/chart)[ RSS](/packages/energieproduction-chart/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

[![Codacy Badge](https://camo.githubusercontent.com/3d0e61a0f4fb3649687df0bd36756f141f1633c9c045ff6b6067f3ed6ecccdae/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3532663533303635383363653461616438666130343935663433356235663332)](https://www.codacy.com/app/energieproductionfr/Chart?utm_source=github.com&utm_medium=referral&utm_content=EnergieProduction/Chart&utm_campaign=Badge_Grade)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e17ed50ab72ad8e402e2603a75e4ad5063cd6bc55dd14e069c722b78261022ab/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456e657267696550726f64756374696f6e2f43686172742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/EnergieProduction/Chart/?branch=master)[![Build For Laravel](https://camo.githubusercontent.com/9d0e49e88cc565047271b33091f74c61bd665a5690747864fcff8e335eb285e9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c745f666f722d4c61726176656c2d6f72616e67652e737667)](https://styleci.io/repos/69124179)[![Latest Version on Packagist](https://camo.githubusercontent.com/45995cae2af497f47f250be7bd6fbd2e9dadc76250f2d8dd081fc177cd6970ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e657267696570726f64756374696f6e2f63686172742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/energieproduction/chart)[![Total Downloads](https://camo.githubusercontent.com/7aa2eea321110854e07bb232139dc15ce8b6f87608b2dbaa28b5b9e86cfd126b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e657267696570726f64756374696f6e2f63686172742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/energieproduction/chart)

EnergieProduction/Chart
=======================

[](#energieproductionchart)

Chart service for Highcharts on Laravel 5

Installation
------------

[](#installation)

Run in console below command to download package to your project:

```
composer require energieproduction/chart

```

Configuration
-------------

[](#configuration)

### For Laravel 5

[](#for-laravel-5)

In `/config/app.php` add ChartServiceProvider:

```
EnergieProduction\Chart\ChartServiceProvider::class,

```

Do not forget to use the scripts from Highcharts on the pages that contains a chart

```

```

Usage
=====

[](#usage)

In progress...

Examples
========

[](#examples)

```
$chart = app('chart');

$chart->pushSubset('title', function($title){
    $title->pushCriteria(new Criterias\Text('Solar Employment Growth by Sector, 2010-2016'));
});

$chart->pushSubset('subtitle', function($subtitle){
    $subtitle->pushCriteria(new Criterias\Text('Source: thesolarfoundation.com'));
});

$chart->pushSubset('yAxis.title', function($title){
    $title->pushCriteria(new Criterias\Text('Number of Employees'));
});

$chart->pushSubset('legend', function($legend){
    $legend->pushCriteria(new Criterias\Layout('vertical'));
    $legend->pushCriteria(new Criterias\Align('right'));
    $legend->pushCriteria(new Criterias\VerticalAlign('middle'));
});

$chart->pushSubset('plotOptions.series', function($plotOptions){
    $plotOptions->pushCriteria(new Criterias\PointStart(2010));
});

$chart->pushSubset('series', function($series){
    $series->pushCriteria(new Criterias\Name('Installation'));
    $series->pushCriteria(new Criterias\Data([43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175]));
});

$chartSolarEmployment = $chart->render();
```

```

$(function () {
    $('chart').highcharts({{$chartSolarEmployment}});
});

```

[![Demo](https://camo.githubusercontent.com/d1480dcfb1e4c1450c8d289e2f3e26f76d05a03d00f2e4f29792afb3b4b35b59/68747470733a2f2f6931312e73657276696d672e636f6d2f752f6631312f31312f31332f36312f33322f63686172747331302e706e67)](https://camo.githubusercontent.com/d1480dcfb1e4c1450c8d289e2f3e26f76d05a03d00f2e4f29792afb3b4b35b59/68747470733a2f2f6931312e73657276696d672e636f6d2f752f6631312f31312f31332f36312f33322f63686172747331302e706e67)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.7% 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

Unknown

Total

1

Last Release

3224d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11473997?v=4)[DeGraciaMathieu](/maintainers/DeGraciaMathieu)[@DeGraciaMathieu](https://github.com/DeGraciaMathieu)

![](https://avatars.githubusercontent.com/u/27205217?v=4)[EnergieProduction](/maintainers/EnergieProduction)[@EnergieProduction](https://github.com/EnergieProduction)

---

Top Contributors

[![DeGraciaMathieu](https://avatars.githubusercontent.com/u/11473997?v=4)](https://github.com/DeGraciaMathieu "DeGraciaMathieu (84 commits)")[![EnergieProduction](https://avatars.githubusercontent.com/u/27205217?v=4)](https://github.com/EnergieProduction "EnergieProduction (2 commits)")

---

Tags

chartchart-servicehighchartslaravellaravel-5-packagelaravelhighchartschart

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/energieproduction-chart/health.svg)

```
[![Health](https://phpackages.com/badges/energieproduction-chart/health.svg)](https://phpackages.com/packages/energieproduction-chart)
```

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k531.0k21](/packages/robsontenorio-mary)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5452.7k](/packages/hasinhayder-tyro-dashboard)[ublabs/blade-simple-icons

A package to easily make use of Simple Icons in your Laravel Blade views.

1958.8k](/packages/ublabs-blade-simple-icons)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18379.7k9](/packages/technikermathe-blade-lucide-icons)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2453.7k5](/packages/hasinhayder-tyro-login)

PHPackages © 2026

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