Advanced shortcode (BBCode) parser and engine for PHP
http://kowalczyk.cc ↗ HEALTH ? 72 / Stable
Advanced shortcode (BBCode) parser and engine for PHP
http://kowalczyk.cc ↗// readme
Shortcode is a framework agnostic PHP library allowing to find, extract and process text fragments called “shortcodes” or “BBCodes”. Examples of their usual syntax and usage are shown below:
[user-profile /]
[image width=600]
[link href="http://google.pl" color=red]
[quote="Thunderer"]This is a quote.[/quote]
[text color="red"]This is a text.[/text]
The library is divided into several parts, each of them containing logic responsible for different stages and ways of processing data:
Each part is described in the dedicated section in this document.
There are no required dependencies and all PHP versions from 5.3 up to latest 8.x are tested…