PHP Classes

Tag Cloud: Generate tag clouds from lists of tags

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 3,292 All time: 1,055 This week: 122Up
Version License Categories
tagcloud 1.0GNU General Publi...HTML, Content management


This class can be used to generate HTML tag clouds from lists of tags.

It takes an associative array with the tags and the respective numeric weight.

The class generates HTML for the tag cloud in the form of links pointing to a URL based on each tag name.

The size of the tag text font is adjusted automatically according to the weight of each tag.

The minimum and maximum font size and other presentation details are configurable.

Innovation Award
PHP Programming Innovation award nominee
November 2006
Number 6

Prize: One copy of DWeb Pro Lifetime License
Tag clouds have became very popular since the boom of Web 2.0 sites.

On many of such sites, the users can tag the content. Tag clouds show which topics are used to tag the most popular content. It is definitely a good idea to that can help users finding which are the site current hot topics.

This class implements a generic solution to display tag clouds in a PHP site.

Manuel Lemos
Picture of Dror Golan
Name: Dror Golan is available for providing paid consulting. Contact Dror Golan .
Classes: 8 packages by
Country: Israel Israel
Age: 52
All time rank: 1451 in Israel Israel
Week rank: 368 Down2 in Israel Israel Down
Innovation award
Innovation award
Nominee: 1x

  • tagCloud2.JPG
  Files folder image Files  
File Role Description
Plain text file tagCloud.class.php Class Main tagCloud class
Plain text file TagCloudSample.php Example Example Script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,055
This week:122Up
User Ratings User Comments (2)
 All time