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

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

rcousens/amcharts-bundle
========================

Symfony2 Bundle that ease the use of AmCharts to display rich graph and charts in your app

v1.0.0(11y ago)310.1k3[3 issues](https://github.com/rcousens/AmChartsBundle/issues)[1 PRs](https://github.com/rcousens/AmChartsBundle/pulls)MITJavaScriptPHP &gt;=5.3.0

Since Jul 21Pushed 5y ago1 watchersCompare

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

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

RCAmChartsBundle
================

[](#rcamchartsbundle)

`RCAmChartsBundle` eases the use of AmCharts to display rich graph and charts in your Symfony2 application by providing Twig extensions and PHP objects to do the heavy lifting. The bundle incorporates the JS charting library [AmCharts](http://www.amcharts.com).

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

Content
-------

[](#content)

- [License](#license)
- [How to get started / Installation](#how-to-get-started)
- Usage
    - [Make a basic pie chart](#basic-pie-chart)
- Cookbook

License
-------

[](#license)

RCAmChartsBundle is released under the MIT License. See the bundled [LICENSE](LICENSE)file for details.

Please note that the AmCharts JS library bundled with the project is free for commercial use provided you retain the advertisement.

How to get started
------------------

[](#how-to-get-started)

### Installation

[](#installation)

1. Add the following to your `composer.json` file

    ```
        "require": {
            ...
            "rcousens/amcharts-bundle": "dev-master@dev"
            ...
        }
    ```
2. Run `php composer.phar update "rcousens/amcharts-bundle"`
3. Register the bundle in your `app/AppKernel.php`:

    ```
