Registry / utility / s9e-text-formatter

s9e-text-formatter

JSON →
library2.19.3phppackagistunverified

Multi-purpose text formatting and markup library. Plugins offer support for BBCodes, Markdown, emoticons, HTML, embedding third-party media (YouTube, etc...), enhanced typography and more.

composer require s9e/text-formatter
INSTALL
IMPORT
SIG · S9E-TEXT-FORMATTER
S
s9e-text-formatter
utilityphpv2.19.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Forum
use s9e\TextFormatter\Bundles\Forum;

Parse and render BBCode using the Forum bundle.

use s9e\TextFormatter\Bundles\Forum; $parser = Forum::getParser(); $renderer = Forum::getRenderer(); $xml = $parser->parse('[b]Hello[/b]'); echo $renderer->render($xml);
Debug
Known issues
breakingPHP version requirement: requires PHP 7.4+
fix
Upgrade to PHP 7.4 or later.
affects: <2.0.0
Upgrade
Version history
2.19.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
s9e-text-formatter — pip install s9e-text-formatter · libregistry