Login   Register  
PHP Classes
elePHPant
Icontem

Source code highlighting: Highlight code in several languages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-08-06 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 916 All time: 3,595 This week: 1,478Up
Version License Categories  
highlighter 1.0Artistic LicenseHTML, PHP 5, Text processing
Description Author  

This class can be used to highlight source code in several languages, as well some other text formats.

It can highlight text strings or files. It generates XHTML as highlighted output.

Currently it supports the following languages and text formats: C++, CSS, DIFF, DTD, HTML, Java, JavaScript, MySQL, Perl, PHP, Python, Ruby, SQL and XML.

The class requires PEAR Text_Highlighter.

Picture of Stephan Spies
Name: Stephan Spies <contact>
Classes: 1 package by
Country: Germany Germany
Age: 42
All time rank: 2226147 in Germany Germany
Week rank: 1816 Up88 in Germany Germany Up

Screenshots  
  • highlighter.png
  Files folder image Files  
File Role Description
Plain text file class.highlighter.php Class Class download
Plain text file code-bright.css Data CSS file for highlighting code

 Version Control Unique User Downloads Download Rankings  
 0%Total:916All time:3,595
 This week:0This week:1,478Up