PHP Classes

cSpeedometer: Render a speed meter as image or HTML5 canvas

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 74%Total: 800 This week: 1All time: 4,275 This week: 155Up
Version License PHP version Categories
speed-meter 1.3.1GNU General Publi...5.2HTML, PHP 5, Graphics


This class can render a speed meter as image or HTML5 canvas.

It can generate an image with a round speed meter and a pointer pointing to the current speed over three ranges of speeds displayed in red, yellow or green.

The class can generate the image in JPEG, PNG and GIF format, or as HTML5 with JavaScript code that can render the speed meter image in a canvas object.

This class create a speedometer images for use in dashboards or control panels GIF, JPG, PNG or using HTML5 canvas and SVG tags.

The red, yellow and greed speed ranges and the colors of the speed pointer are configurable parameters.

Innovation Award
PHP Programming Innovation award nominee
January 2013
Number 2

Prize: One copy of the Zend Studio
Speed meters are often used as a visual artifact to show how the user is doing or the current state of something of the user interest.

This class can render a speed meter on the browser side using HTML5 canvas objects instead of just images dynamically generated on the server side.

Manuel Lemos
Picture of Omar Ortiz
  Performance   Level  
Name: Omar Ortiz <contact>
Classes: 5 packages by
Country: Mexico Mexico
Age: 53
All time rank: 6408 in Mexico Mexico
Week rank: 179 Up2 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

  • canvas.jpg
  • screenshot
  • sp1.png
  • svg.jpg
  Files folder image Files  
File Role Description
Plain text file cSpeedometer.php Class Class file
Accessible without login Plain text file example.php Example Example file
Accessible without login Plain text file readme.txt Doc. readme file

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:4,275
This week:155Up
User Ratings User Comments (3)
 All time
Sublime, fantastic, excellent work!
8 years ago (daniele borini)
On my system, I had to create the tmp dir.
10 years ago (Gary G Johnson)
This is a good class :-)
10 years ago (Josť Filipe Lopes Santos)