2017 © Pedro PelĂĄez
 

library decoda

A lightweight lexical string parser for BBCode styled markup.

image

mjohnson/decoda

A lightweight lexical string parser for BBCode styled markup.

  • Saturday, July 28, 2018
  • by milesj
  • Repository
  • 19 Watchers
  • 175 Stars
  • 362,111 Installations
  • PHP
  • 13 Dependents
  • 2 Suggesters
  • 50 Forks
  • 5 Open issues
  • 56 Versions
  • 6 % Grown

The README.md

Decoda

Build Status Minimum PHP Version Latest Stable Version PHPStan License, (*1)

A lightweight lexical string parser for BBCode styled markup., (*2)

Contributors

  • "Marten-Plain" emoticons by MĂ„rten Lundin - http://adiumxtras.com/index.php?a=xtras&xtra_id=6920
  • "HTML_BBCodeParser" by Seth Price - http://pear.php.net/package/HTML_BBCodeParser/

Framework Integrations

Features

  • Parses custom code to valid (X)HTML markup
  • Setting to make links and emails auto-clickable
  • Setting to use shorthand text for links and emails
  • Filters to parse markup and custom code
  • Hooks to execute callbacks during the parsing cycle
  • Loaders to load resources and files for configuration
  • Engines to render complex markup using a template system
  • Can censor offensive words
  • Can convert smiley faces into images
  • Basic support for localized messages
  • Parser result caching
  • Supports a wide range of tags
  • Parent child node hierarchy
  • Fixes incorrectly nested tags by removing the broken/unclosed tags
  • Self closing tags
  • Logs errors for validation
  • Tag and attribute aliasing

Filters

The following filters and supported tags are available., (*3)

  • Default - b, i, u, s, sup, sub, br, hr, abbr, time
  • Block - align, float, hide, alert, note, div, spoiler, left, right, center, justify
  • Code - code, source, var
  • Email - email, mail
  • Image - image, img
  • List - list, olist, ol, ul, li, *
  • Quote - quote
  • Text - font, size, color, h1-h6
  • Url - url, link
  • Video - video, youtube, vimeo, veoh, liveleak, dailymotion, myspace, wegame, collegehumor
  • Table - table, thead, tbody, tfoot, tr, td, th, row, col

Hooks

The following hooks are available., (*4)

  • Censor - Censors all words found within config/censored
  • Clickable - Converts all non-tag wrapped URLs and emails into clickable links
  • Emoticon - Converts all smilies found within config/emoticons into emoticon images

Storage Engines

The following caching layers are supported., (*5)

  • In-Memory
  • Memcache
  • Redis

Installation and Usage

See docs., (*6)

The Versions

28/07 2018

dev-master

9999999-dev http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

28/07 2018

6.11.0

6.11.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

02/02 2018

6.10.1

6.10.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

15/08 2017

6.10.0

6.10.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

19/05 2017

6.9.0

6.9.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

04/02 2017

6.8.0

6.8.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

15/05 2016

6.7.2

6.7.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

14/06 2015

6.7.1

6.7.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

04/06 2015

6.7.0

6.7.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

hook parser filter bbcode markup lexer decoda

16/02 2015

6.6.2

6.6.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup lexer decoda

23/11 2014

6.6.1

6.6.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup lexer decoda

22/09 2014

6.6.0

6.6.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup lexer decoda

14/07 2014

6.5.2

6.5.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup lexer decoda

16/04 2014

6.5.1

6.5.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup lexer decoda

30/03 2014

6.5.0

6.5.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup lexer decoda

22/02 2014

6.4.3

6.4.3.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

16/02 2014

6.4.2

6.4.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

18/01 2014

6.4.1

6.4.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

06/01 2014

6.4.0

6.4.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

01/12 2013

6.3.1

6.3.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

25/11 2013

6.3.0

6.3.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

26/09 2013

6.2.3

6.2.3.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

11/08 2013

6.2.2

6.2.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

05/08 2013

6.2.1

6.2.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

24/07 2013

6.2.0

6.2.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

02/07 2013

6.1.0

6.1.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

24/05 2013

6.0.5

6.0.5.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

23/05 2013

6.0.4

6.0.4.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

21/05 2013

6.0.3

6.0.3.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

12/05 2013

6.0.2

6.0.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

13/04 2013

6.0.1

6.0.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

05/04 2013

6.0.0

6.0.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

01/04 2013

6.0.0-rc3

6.0.0.0-RC3 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

30/03 2013

6.0.0-rc2

6.0.0.0-RC2 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

30/03 2013

6.0.0-rc1

6.0.0.0-RC1 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

29/03 2013

5.1.3

5.1.3.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

12/02 2013

5.1.2

5.1.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

20/01 2013

5.1.1

5.1.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

hook parser filter bbcode markup decoda

20/01 2013

5.1.0

5.1.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

hook parser filter bbcode markup decoda

04/01 2013

5.0.0

5.0.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

hook parser filter bbcode markup decoda

03/01 2013

5.0.0-rc2

5.0.0.0-RC2 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

hook parser filter bbcode markup decoda

02/01 2013

5.0.0-rc1

5.0.0.0-RC1 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

hook parser filter bbcode markup decoda

30/12 2012

5.0.0-beta

5.0.0.0-beta http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

hook parser filter bbcode markup decoda

29/12 2012

4.x-dev

4.9999999.9999999.9999999-dev http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

18/12 2012

4.1.1

4.1.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

20/11 2012

4.1.0

4.1.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

20/11 2012

4.1.0-rc2

4.1.0.0-RC2 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

17/11 2012

4.1.0-rc1

4.1.0.0-RC1 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

16/11 2012

4.1.0-beta

4.1.0.0-beta http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

06/11 2012

4.0.2

4.0.2.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

26/10 2012

4.0.1

4.0.1.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

25/10 2012

4.0.0

4.0.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

21/09 2012

4.0.0-beta

4.0.0.0-beta http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bbcode markup decoda

06/08 2012

3.x-dev

3.9999999.9999999.9999999-dev http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

bbcode markup decoda

06/08 2012

3.5

3.5.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

bbcode markup decoda

08/07 2012

3.4

3.4.0.0 http://milesj.me/code/php/decoda

A lightweight lexical string parser for BBCode styled markup.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

bbcode markup decoda