PHP Classes

PHP Historic Timeline Generator: Render image with a timeline of historic dates

Recommend this page to a friend!
  Info   View files Example   Demos   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 212 All time: 8,313 This week: 115Up
Version License PHP version Categories
historic-line 0.1BSD License4.0Time and Date, Graphics


This class can render image with a timeline of historic dates.

It takes two arrays with the dates and names of historic dates and renders an image displaying the specified dates in a timeline.

The class returns the generated image in the PNG format as a string.

Innovation Award
PHP Programming Innovation award nominee
October 2014
Number 8
Timelines are useful to help understanding sequences of historical events.

This class provides a nice solution to visualize timelines by rendering them as images.

Manuel Lemos
Picture of Ihor Khomyn
Name: Ihor Khomyn is available for providing paid consulting. Contact Ihor Khomyn .
Classes: 3 packages by
Country: Ukraine Ukraine
Age: 51
All time rank: 100517 in Ukraine Ukraine
Week rank: 389 Up4 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 2x

Here are the few instructions to make the demo work. First put historicline.php and historicline_demo.php somwhere to be accessible via web server. The historicdate.php file should be downloaded from The historicdate.js file should be downloaded from You can use any TTF font, just edit class - for demo I used FreeSansBold.ttf font from this FreeFont package: Demo can be seen online at Comments are welcome, send me email to Regards, Ihor Khomyn.
  Demo script live pageExternal page  

Open in a separate window

  • historicline.jpg
  Files folder image Files  
File Role Description
Plain text file historicline.php Class Main class
Accessible without login Plain text file historic_demo.php Example Demo usage of the class
Accessible without login Plain text file readme.txt Doc. A short readme

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,313
This week:115Up
User Comments (1)
Thats a good and interesting class ;-)
8 years ago (Josť Filipe Lopes Santos)