PHPackages                             webeweb/highcharts-bundle - 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. [API Development](/categories/api)
4. /
5. webeweb/highcharts-bundle

AbandonedArchivedSymfony-bundle[API Development](/categories/api)

webeweb/highcharts-bundle
=========================

Integrate HighchartsJS with Symfony 2 and more

v1.9.0(5y ago)620.0k1MITPHPPHP ^5.6|^7.0

Since Oct 7Pushed 4y agoCompare

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

READMEChangelog (10)Dependencies (6)Versions (11)Used By (0)

highcharts-bundle
=================

[](#highcharts-bundle)

[![Build Status](https://camo.githubusercontent.com/5908277794c83b3a2c9744b559ef22bea19655a6bc61295f513bea776e34f765/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f776562657765622f686967686368617274732d62756e646c652f6275696c643f7374796c653d666c61742d737175617265)](https://github.com/webeweb/highcharts-bundle/actions)[![Coverage Status](https://camo.githubusercontent.com/126d9dc8f5b1349cea5f2e27e542e987b4d9f2c9ecd695563326e30eb93db235/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562657765622f686967686368617274732d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/webeweb/highcharts-bundle?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7d249e013d9830d563171e3923ae169f6449e73355b8c1c18f4db91d699b0328/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f776562657765622f686967686368617274732d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/webeweb/highcharts-bundle/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/be059d51614ace83388ac04ff0aecd71c271267650729bbfe4ad575aa6abbf76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562657765622f686967686368617274732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/highcharts-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/bf44df2a4375455b63bc776c0eb3ac4274d5f938eef2586ce2f1192a25c98497/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f776562657765622f686967686368617274732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/highcharts-bundle)[![License](https://camo.githubusercontent.com/3d93e36b449e108bfa3fbf0eb61c549d26e9866d3a035dee3ebdcec3a0d686f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562657765622f686967686368617274732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/highcharts-bundle)[![composer.lock](https://camo.githubusercontent.com/7de7a804bd6140ed9930c0194534e58bc53b1fcdc260d727baae460969a1f285/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2e6c6f636b2d756e636f6d6d697465642d696d706f7274616e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/highcharts-bundle)

> IMPORTANT NOTICE: This package is no longer maintained.

`highcharts-bundle` eases the use of highcharts to display rich graphs and charts in your Symfony 2 application by providing Twig extensions and PHP objects to do the heavy lifting. The bundle include the excellent JS library [Highcharts](https://www.highcharts.com).

Dry out your chart code by writing it all in PHP !

Includes:

- [Highcharts 5.14.0](https://www.highcharts.com/)

If you like this package, pay me a beer (or a coffee) [![paypal.me](https://camo.githubusercontent.com/792daa86a939b21089cfef57177a6331ffe4bb93d6cb6f90cb8e42446cc30941/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030373062612e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

Compatibility
-------------

[](#compatibility)

[![PHP](https://camo.githubusercontent.com/424ec6d55554968cc5c7f9e5e85f8ad5c8809290bce9c53d469fefe9e0a146e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562657765622f686967686368617274732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](http://php.net)[![Symfony](https://camo.githubusercontent.com/78bd670cc6757889462519a2ee43ba4f1c1c6a4119d14211602d5c91de2712ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253545322e36253743253545332e30253743253545342e302d6272696768746e6573732e7376673f7374796c653d666c61742d737175617265)](https://symfony.com)

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

```
$ composer require webeweb/highcharts-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
    public function registerBundles() {
        $bundles = [
            // ...
            new WBW\Bundle\HighchartsBundle\HighchartsBundle(),
        ];

        // ...

        return $bundles;
    }
```

Once the bundle is added then do:

```
$ php bin/console assets:install
```

Usage
-----

[](#usage)

In your controller ...

```
    // Prepare the data.
    $data = [["name" => "Female", "y" => 25 ], ["name" => "Male", "y" => 25], ["name" => "Unknown", "y" => 50]];

    // Initialize the series.
    $series = [["colorByPoint" => true, "data" => $data, "name" => "Gender distribution"]];

    // Initialize the chart.
    $chart = new HighchartsChart;
    $chart->newChart()->setType("pie");
    $chart->newPlotOptions()->newPie()
        ->setAllowPointSelect(true)
        ->setCursor("pointer")
        ->setShowInLegend(true)
        ->newDataLabels()->setEnabled(true);
    $chart->setSeries($series);
    $chart->newTitle()->setText("Gender distribution");
    $chart->newTooltip()->setPointFormat("{series.name}: {point.percentage:.1f}%");

    return $this->render('::your_template.html.twig', [
        'chart' => $chart
    ]);
```

In your template ...

```

    {{ highchartsScript('highcharts') }}
    {{ highchartsScript('modules/exporting') }}
    {{ highchartsChart('Container', chart) }}
```

Testing
-------

[](#testing)

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

```
$ git clone https://github.com/webeweb/highcharts-bundle.git
$ cd highcharts-bundle
$ composer install
```

Once all required libraries are installed then do:

```
$ vendor/bin/phpunit
```

License
-------

[](#license)

`highcharts-bundle` is released under the MIT License. See the bundled [LICENSE](LICENSE)file for details.

Please note that the Highcharts JS library is **not** free for commercial use, see their [FAQ](http://shop.highsoft.com/faq) for more details on what constitutes a non-commercial project or their [product page](http://shop.highsoft.com/highcharts.html)for details on pricing.

Donate
------

[](#donate)

If you like this work, please consider donating at [![paypal.me](https://camo.githubusercontent.com/792daa86a939b21089cfef57177a6331ffe4bb93d6cb6f90cb8e42446cc30941/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030373062612e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~135 days

Recently: every ~296 days

Total

10

Last Release

1970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3af0f8a26f2253921537f363ec984cd5a459cf3f0b3cec0bc70bdb8d8c723612?d=identicon)[webeweb](/maintainers/webeweb)

---

Top Contributors

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

---

Tags

apibundlechartshighchartssymfonywebewebsymfonybundlehighchartswebeweb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webeweb-highcharts-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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