PHP Markdown and BBCode Parser: Parse and replace Markdown and BBCode by HTML

Recommend this page to a friend!
  Info   Example   View files (11)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 386 All time: 6,564 This week: 295
Version License PHP version Categories
php-markdown-bbcode 1.1GNU General Publi...5.3PHP 5, Text processing
Description Author

This package can parse Markdown and BBCode to replace by HTML tags.

It provides separate classes that can take a text string with either BBCode or Markdown format tags and replace them by equivalent HTML tags.

A base class is also capable of sanitizing the text by removing JavaScript tags.

Picture of Pierre-Henry Soria
  Performance   Level  
Name: Pierre-Henry Soria <contact>
Classes: 19 packages by
Country: United Kingdom
Age: 29
All time rank: 49126 in United Kingdom
Week rank: 38 1 in United Kingdom
Innovation award
Innovation award
Nominee: 3x


Parser for BBCode and Markdown Markup Language

Interpretation for two markup languages, BBCode and Markup with support of HTML5. They also complement each other with my parser emoticons.

Note: The language BBCode is customized by me, I added some extra tags (tags and some do not have the same name).

Server Requirements

PHP 5.3.0 or newer.


Pierre-Henry Soria


Lesser General Public License 3 or later; See the LICENSE.txt file.

File Role Description
Example (3 files, 2 directories)
Parse (1 directory)
LICENSE.txt Lic. License text Data Documentation

  Files  /  Example  
File Role Description
img (1 file)
text (2 files)
   bbcode.php Example Example script
   markdown.php Example Example script
   _autoload.php Example Example script

  Files  /  Example  /  img  
File Role Description
   town.jpg Icon Icon image

  Files  /  Example  /  text  
File Role Description Data Auxiliary data Data Auxiliary data

  Files  /  Parse  
File Role Description
Text (3 files)

  Files  /  Parse  /  Text  
File Role Description
   BbCode.class.php Class Class source
   Code.class.php Class Class source
   Markdown.class.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,564
This week:295

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