PHP Gantt charts in PDF: Output Gantt charts using PDF documents

Recommend this page to a friend!
  Info   Screenshots   View files (9)   Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 770 All time: 4,341 This week: 242
Version License PHP version Categories
pdf-gantt 0.92BSD License5.2PHP 5, Printing, Project Management
Description Author

This class can output Gantt charts using PDF documents.

It takes as parameters an array with the details of several tasks like the task name, task start and duration, as well dependencies between tasks.

The class computes the layout of the tasks considering the dependencies and the expected start dates and durations.

It uses TCPDF to render a Gantt to show the tasks in a PDF document.

Several details can be configured like the printing area, font colors, background and referencing arrows colors, etc..

Innovation Award
PHP Programming Innovation award nominee
May 2013
Number 7

Prize: One copy of DWebPro Standard License
Gantt charts are useful to display the schedule of planned tasks sorted by time in a chart.

This class can layout Gannt charts from a list of projects with their schedules. It can also generate a PDF documents with the rendered Gannt charts.

Manuel Lemos
Picture of Alexander Selifonov
  Performance   Level  
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 20 packages by
Country: Russian Federation Russian Federation
Age: 58
All time rank: 522 in Russian Federation Russian Federation
Week rank: 84 8 in Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 16x

Winner: 2x


Creating Gantt charts in PDF document

task: Generating PDF documents with Gantt charts

Short description

PdfGantt is a TCPDF wrapper class for rendering Gantt charts as a part of created PDF document.

It has features for adjusting printing area, font colors for different text blocks, background and referencing arrows color, and other parameters. It will automatically adjust start dates for depending tasks to be starting right after "parent" tasks. List of people responsible for each task can be printed


English Russian

Class can be used standalone OR as a PrintFormPDF plugin, see it here: PrintFormPDF on github PrintFormPDF on PHPclasses

Distributed under BSD License :

  • gantt.png
File Role Description
pdf_gantt.php Class Main class module
gantt-sample1.xml Data XML confihuration file for example 1
gantt_sample1.php Example Using example 1 (PrintFormPDF plugin mode)
gantt_sample2.php Example Using example 2 (standalone)
pdf_gantt.en.htm Doc. Documentation (english) Doc. Documentation (russian)
gantt-screenshot.png Icon screenshot
helpstyles.css Data css for help files Data readme for git 109KB
pdf-gantt-2015-03-25.tar.gz 105KB
Install with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Print Form PDF .zip .tar.gz If used as PrintFormPDF plugin Conditional
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,341
This week:242

For more information send a message to info at phpclasses dot org.