PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-06-02 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 401 All time: 6,536 This week: 106Up
Version License PHP version Categories
php-markdown-bbcode 1.8GNU 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: 42 packages by
Country: United Kingdom
Age: 32
All time rank: 39116 in United Kingdom
Week rank: 9 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 16x

Winner: 3x

Details

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.

Author

Pierre-Henry Soria

License

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

  Files folder image Files  
File Role Description
Files folder imageExample (3 files, 2 directories)
Files folder imageParse (1 directory)
Accessible without login Plain text file LICENSE.txt Lic. License text
Accessible without login Plain text file README.md Data Documentation

  Files folder image Files  /  Example  
File Role Description
Files folder imageimg (1 file)
Files folder imagetext (2 files)
  Accessible without login Plain text file bbcode.php Example Example script
  Accessible without login Plain text file markdown.php Example Example script
  Accessible without login Plain text file _autoload.php Example Example script

  Files folder image Files  /  Example  /  img  
File Role Description
  Accessible without login Image file town.jpg Icon Icon image

  Files folder image Files  /  Example  /  text  
File Role Description
  Accessible without login Plain text file bbcode.bbc Data Auxiliary data
  Accessible without login Plain text file markdown.md Data Auxiliary data

  Files folder image Files  /  Parse  
File Role Description
Files folder imageText (3 files)

  Files folder image Files  /  Parse  /  Text  
File Role Description
  Plain text file BbCode.class.php Class Class source
  Plain text file Code.class.php Class Class source
  Plain text file Markdown.class.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:401
This week:0
All time:6,536
This week:106Up