• Stars
    star
    196
  • Rank 197,767 (Top 4 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 14 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A lightweight lexical string parser for BBCode styled markup.

Decoda

Build Status Minimum PHP Version Latest Stable Version PHPStan License

A lightweight lexical string parser for BBCode styled markup.

Contributors

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.

  • 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.

  • 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.

  • In-Memory
  • Memcache
  • Redis

Installation and Usage

See docs.

More Repositories

1

interweave

๐ŸŒ€ React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more.
TypeScript
1,048
star
2

emojibase

๐ŸŽฎ A collection of lightweight, up-to-date, pre-generated, specification compliant, localized emoji JSON datasets, regex patterns, and more.
TypeScript
443
star
3

babel-plugin-typescript-to-proptypes

Generate React PropTypes from TypeScript interfaces or type aliases.
TypeScript
366
star
4

uploader

[Deprecated] A CakePHP plugin for file uploading and validating.
PHP
193
star
5

packemon

๐Ÿ“ฆ Build and prepare packages for npm distribution using standardized configurations and practices. Gotta pack 'em all!
TypeScript
188
star
6

forum

[Deprecated] A CakePHP plugin for forum / bulletin board systems.
PHP
131
star
7

boost

๐Ÿš€ A collection of type-safe cross-platform packages for building robust server-side and client-side systems.
TypeScript
105
star
8

shapeshifter

๐Ÿบ Generate relational schemas, PropTypes, Flow aliases, and TypeScript interfaces from JSON or GraphQL schematic files.
TypeScript
103
star
9

utility

[Deprecated] A CakePHP plugin for common utility classes.
PHP
69
star
10

docusaurus-plugin-typedoc-api

Docusaurus plugin that provides source code API documentation powered by TypeDoc.
TypeScript
63
star
11

admin

[Deprecated] A CakePHP plugin that provides admin CRUD functionality for app and plugin models.
PHP
47
star
12

auto-login

[Deprecated] Use the Utility plugin.
PHP
45
star
13

transit

A lightweight file uploading library with image transformation and remote storage support.
PHP
41
star
14

type-converter

[Deprecated] Convert a type to another.
PHP
31
star
15

feeds

[Deprecated] Use the Utility plugin.
PHP
30
star
16

tournament

[Deprecated] A CakePHP plugin for competitive leagues, tournaments, brackets, teams and players.
PHP
24
star
17

optimal

Build, validate, and transform values with immutable typed schemas.
TypeScript
17
star
18

rut

โš›๏ธ React testing made easy. Supports DOM and custom renderers.
TypeScript
16
star
19

spam-blocker

[Deprecated] Use the Utility plugin.
PHP
15
star
20

build-tool-config

Build tool configuration files for easy re-use.
TypeScript
12
star
21

formation

[Unsupported] A stand alone form manager, builder, validator and cleaner.
PHP
11
star
22

compression

[Unsupported] A stand alone CSS parser, minifier and cacher.
PHP
10
star
23

ajax-handler

[Deprecated] Use the Utility plugin.
PHP
10
star
24

gears

[Unsupported] A stand alone PHP template engine and parser.
PHP
6
star
25

resession

[Unsupported] A stand alone session management class.
PHP
5
star
26

databasic

[Deprecated] Use the Titon\Model package.
PHP
5
star
27

js-ts-crates

Rust crates for common JavaScript and TypeScript functionality.
Rust
5
star
28

rust-cicd-env

Rust crates for extracting CI/CD information from the environment.
Rust
4
star
29

numword

[Unsupported] A stand alone number to word converter.
PHP
3
star
30

milk

A fork of MooTools for the new generation.
JavaScript
3
star
31

blizzard-sdk

PHP SDK for the Blizzard WoW API
PHP
3
star
32

dotfiles

Dotfiles for my local environment.
Vim Script
3
star
33

data-structures

A collection of JavaScript data structures.
JavaScript
3
star
34

compartment

A component dependency graph.
JavaScript
2
star
35

typescript-eslint-single-run

TypeScript
2
star
36

packager

[Deprecated] A dependency and script packager for static assets.
PHP
1
star
37

web-lang

A programming language for the web.
1
star
38

hhi

Command line tool for generating Hack HHI definitions.
PHP
1
star
39

statsburner

[Deprecated] A stand alone wrapper for the Feedburner Awareness API.
PHP
1
star
40

joop

OOP based functionality for JavaScript and Node.js
JavaScript
1
star
41

figg

Powerful configuration format, for all languages.
1
star
42

aoc-2022

Advent of Code 2022
Rust
1
star