PHPackages                             barthuttinga/phphighcharts - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. barthuttinga/phphighcharts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

barthuttinga/phphighcharts
==========================

PHP wrapper for creating HighCharts in an object oriented way.

0134PHP

Since Jan 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/barthuttinga/phphighcharts)[ Packagist](https://packagist.org/packages/barthuttinga/phphighcharts)[ RSS](/packages/barthuttinga-phphighcharts/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PhpHighCharts
=============

[](#phphighcharts)

[![Build Status](https://camo.githubusercontent.com/30ddcc101e8329d5612bfc6133a15d02d26d760907efde20d95d5da38567336c/68747470733a2f2f7472617669732d63692e6f72672f6261727468757474696e67612f706870686967686368617274732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/barthuttinga/phphighcharts)

PHP wrapper for creating HighCharts in an object oriented way.

Authors
-------

[](#authors)

- Bart Huttinga

Requirements
------------

[](#requirements)

- [Composer](http://getcomposer.org/) for installing the library
- [HighCharts](http://www.highcharts.com/) for rendering the charts

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

[](#installation)

Install the library using Composer:

```
composer require barthuttinga/phphighcharts

```

Usage
-----

[](#usage)

Create a chart:

```
$chart = new PhpHighCharts\HighChart();
$chart->getChart()->setType('bar');
$chart->getTitle()
    ->setX(10)
    ->setText('Fruit Consumption');
$chart->getXAxis()->setCategories(array('Apples', 'Bananas', 'Oranges'));
$chart->getYAxis()->getTitle()->setText('Fruit eaten');
$chart->getTitle()->setText('Fruit Consumption');
$chart->setSeries(array(
    new PhpHighCharts\Series(array(1, 0, 4), 'Jane'),
    new PhpHighCharts\Series(array(5, 7, 3), 'John'),
));
$chart->setColors(array('#444444'));
$chart->addColor('#555555');
$chart->getYAxis()->addPlotBand(
    new PhpHighCharts\PlotBand(0, 1, 'green')
);
$chart->getYAxis()->addPlotLine(
    new PhpHighCharts\PlotLine(3, 1, 'green')
);
$chart->getCredits()
    ->setText('PHPHighCharts')
    ->setHref('https://github.com/barthuttinga/phphighcharts')
    ->getPosition()->setX(-100);

```

Then render it:

```

    $(function () {
        $('#container').highcharts();
    });

```

Reporting an issue or a feature request
---------------------------------------

[](#reporting-an-issue-or-a-feature-request)

Issues and feature requests are tracked in the [GitHub issue tracker](https://github.com/barthuttinga/phphighcharts/issues).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1297455?v=4)[Bart Huttinga](/maintainers/barthuttinga)[@barthuttinga](https://github.com/barthuttinga)

---

Top Contributors

[![barthuttinga](https://avatars.githubusercontent.com/u/1297455?v=4)](https://github.com/barthuttinga "barthuttinga (11 commits)")[![Beagon](https://avatars.githubusercontent.com/u/2945583?v=4)](https://github.com/Beagon "Beagon (4 commits)")

### Embed Badge

![Health badge](/badges/barthuttinga-phphighcharts/health.svg)

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

###  Alternatives

[akeneo/pim-community-standard

The "Akeneo Community Standard Edition" distribution

42687.4k](/packages/akeneo-pim-community-standard)[silverstripe/html5

HTML5 support for SilverStripe

14232.8k4](/packages/silverstripe-html5)

PHPackages © 2026

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