PHP Module for FusionCharts

Add interactive charts to your website using our PHP wrapper

Download Free Trial

Create Line, Pie, Area, Bar, Column, Gantt and over 150 charts for your web application using the PHP Module for FusionCharts. Unlike other charting libraries that only allow creation of static images with low resolution, our charts are completely interactive and responsive on all screen sizes. Stop worrying about JavaScript methods and objects , simply write your application in native PHP or any major PHP frameworks like Laravel, CodeIgniter, or Symphony; fetch data from your SQL servers and directly create charts that are responsive, interactive, and support zooming, panning, APIs, animation, drill-downs, real-time updates, with full exporting of charts & dashboards, all in your own server!

Our PHP module comes with event support for mouse, keyboard, and more, enabling you to add charts in runtime during any lifecycle phase of the application. All our charts are mobile first by default, and responsive across all devices. Further, all charts & graphs are tested and built for millions of data points, without any performance issues.


  • Enjoy support for key FusionCharts features like annotations, macros, themes, image-export, and more.
  • Execute your projects without writing separate API for your JavaScript application.
  • SQL or NoSQL, connect your chart directly to database of your choice
  • Add data in multiple ways, JSON or XML.

Quick Demo

Simple chart
Quick demo

Quick Start

Step 1 : Install the FusionCharts PHP Module

  • Unzip the archive and move to fusioncharts-suite-xt > integrations > php > fusioncharts-wrapper to get the fusioncharts.php file.
  • Copy this file to your project folder.
  • Start using the methods and classes available under the FusionCharts namespace to generate charts in your project.

Step 2 : Install FusionCharts JavaScript library

Install FusionCharts JavaScript library in your page where you want to display FusionCharts. Download FusionCharts and add it in your project

<script type="text/javascript" src="fusioncharts/fusioncharts.js"></script>

Step 3 : Add FusionCharts module in your PHP page


Step 3 : Render your chart

For example, render a simple column chart

$columnChart = new FusionCharts(
            "ex1" , 
                  "caption":"Harry\'s SuperMart",
                  "subCaption":"Top 5 stores in last month by revenue",
                     "label":"Bakersfield Central",
                     "label":"Garden Groove harbour",
                     "label":"Los Angeles Topanga",
                     "label":"Compton-Rancho Dom",
                     "label":"Daly City Serramonte",

Add a container div

<div id="chart1"></div>

and Render the chart



FusionCharts PHP module is open-source and distributed under the terms of the MIT/X11 License. You will still need to download and include FusionCharts in your page. This project provides no direct functionality. You can download a free evaluation version. However, You will need to purchase a FusionCharts license to use in a commercial environment (FusionCharts is free for non-commercial and personal use).