PHPackages                             loveorigami/php-highcharts - 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. loveorigami/php-highcharts

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

loveorigami/php-highcharts
==========================

A php wrapper for highcharts and highstock javascript libraries

1536PHP

Since Sep 7Pushed 7y ago2 watchersCompare

[ Source](https://github.com/loveorigami/php-highcharts)[ Packagist](https://packagist.org/packages/loveorigami/php-highcharts)[ RSS](/packages/loveorigami-php-highcharts/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Php-Highcharts
==============

[](#php-highcharts)

Php-Highcharts is a port [HighchartsPHP](https://github.com/ghunti/HighchartsPHP) for php &gt;= 7.1 with auto-compleate in IDE.

Php-Highcharts is a PHP library that works as a wrapper for the **Highchart js** library () and it was built with flexibility and maintainability in mind. It isn't a simple port of the JavaScript library to PHP, it was designed in a way that mimics the JavaScript counterpart API, so that the developer only needs to learn one API.

The companion webpage can be found at

Setup
-----

[](#setup)

The recommended way to install HighchartsPHP is through [`Composer`](http://getcomposer.org). Just create a `composer.json` file and run the `php composer.phar install` command to install it:

```
{
    "require": {
        "loveorigami/php-highcharts": "@dev"
    }
}
```

Usage
-----

[](#usage)

### Simple

[](#simple)

You can create a highchart using the Highchart constructor.

```
//This will create a highchart chart
$chart = new Highchart();
```

Now that there's a valid `$chart` object the developer only needs to add elements to it as if it was writing them in JavaScript.

```
$chart->title = ['text' => 'Monthly Average Temperature', 'x' => -20];
or
$chart->title->text = 'Monthly Average Temperature';
$chart->title->x = -20;
```

You can also create simple arrays

```
$chart->series[] = ['name' => 'Tokyo', 'data' => [7.0, 6.9, 9.5]];
or
$chart->series[0] = ['name' => 'Tokyo', 'data' => [7.0, 6.9, 9.5]];
or
$chart->series[0]->name = 'Tokyo';
$chart->series[0]->data = [7.0, 6.9, 9.5];
```

and after that get all options for using in Highchart as:

```
$chart->getOptions();
or
$chart->getJson();

```

Demos
-----

[](#demos)

All the Highcharts and Highstocks live demos present on  under the demo gallery were reproduced using this library and you can find them on the demos folder or see a live example on

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

highchartswrapper-library

### Embed Badge

![Health badge](/badges/loveorigami-php-highcharts/health.svg)

```
[![Health](https://phpackages.com/badges/loveorigami-php-highcharts/health.svg)](https://phpackages.com/packages/loveorigami-php-highcharts)
```

###  Alternatives

[mckenziearts/laravel-command

A simple Laravel package to provide artisan new commands

321.2k](/packages/mckenziearts-laravel-command)

PHPackages © 2026

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