This package can be used to convert text with BBCode marks to HTML and vice-versa. It can find and replace BBCode marks and replace them with HTML tags. The package can also do the opposite by converting HTML to equivalent text with BBCode marks. The conversion can be done by custom PHP code. The list of supported tags can be dynamically extended with new BBCode tags with definitions stored in a database.