PHPackages                             bgli100/jbbcode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bgli100/jbbcode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bgli100/jbbcode
===============

A lightweight but extensible BBCode parser written in PHP 5.3.

v1.3.8(1y ago)040MITPHPPHP &gt;=5.3.0

Since May 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bgli100/jBBCode)[ Packagist](https://packagist.org/packages/bgli100/jbbcode)[ Docs](http://jbbcode.com/)[ RSS](/packages/bgli100-jbbcode/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (2)Versions (15)Used By (0)

jBBCode
=======

[](#jbbcode)

[![GitHub release](https://camo.githubusercontent.com/2dcd21b4d3ebd8cb97340f64ac6bd59285442814429c9c77282670d38480d758/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a626f77656e732f6a4242436f64652e737667)](https://github.com/jbowens/jBBCode/releases)[![Software License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/fc0670bce18c3a708e5983aa7c50f7d8691acc879c1477311a5e6f52b9f3167b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a626f77656e732f6a4242436f64652e737667)](https://travis-ci.org/jbowens/jBBCode)

jBBCode is a bbcode parser written in php 5.3. It's relatively lightweight and parses bbcodes without resorting to expensive regular expressions.

Documentation
-------------

[](#documentation)

For complete documentation and examples visit [jbbcode.com](http://jbbcode.com).

### A basic example

[](#a-basic-example)

jBBCode includes a few optional, default bbcode definitions that may be loaded through the `DefaultCodeDefinitionSet` class. Below is a simple example of using these codes to convert a bbcode string to html.

```
