Search by

darkmatus / zf2-bbcodeintegration

Darkmatus

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0) of this package.

Integration of Decoda BBCode-parser as ViewHelper into ZF2.

Package info

github.com/darkmatus/zf2-bbcodeintegration

pkg:composer/darkmatus/zf2-bbcodeintegration

Statistics

Installs: 620

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.0 2013-12-13 06:57 UTC

This package is auto-updated.

Last update: 2026-10-01 11:10:27 UTC


README

Integration of Decoda bbcode parser as ViewHelper in ZF2

Installation:

Copy/move the 'emoticons' folder from 'vendor/mjohnson/decoda' to 'public/images/'. Add 'ZF2Bbcode' to your 'application.config.php'.

Using:

In your view use it like every other viewHelper:

echo $this->bbcode('[b]I'm a BBCode[/b]'); or echo $this->escapeHtml($this->bbcode('[b]I'm a BBCode[/b]');