NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3163 most downloaded on Packagist
Advanced shortcode (BBCode) parser and engine for PHP
Latest stable
v0.7.7
Last release 5 months ago
18 Jun 2026
Release timing varies
gaps range from 4 weeks to 2.9 years
Nearly every release is documented
notes for 22 of 24 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
24 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Drop offsets when tokenizing with RegularParser by @funkjedi in https://github.com/thunderer/Shortcode/pull/111
Full Changelog: https://github.com/thunderer/Shortcode/compare/v0.7.6...v0.7.7
support for PHP 8.4.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
[x] moved from Travis to GitHub Actions,
Merge pull request #85 from funkjedi/patch-1
Merge pull request #85 from funkjedi/patch-1
Updating getParameter docblock
Fixed PHP 7.4 compatibility errors reported in #81 and #82.
Fixed PHP 7.4 compatibility errors reported in #81 and #82.
Fixed #77, merged quality of life improvements from #73.
Fixed #77, merged quality of life improvements from #73.
Fixed #74 .
Fixed #74.
[x] many RegularParser improvements and fixes:
RegularParser improvements and fixes:
T_STRING tokens,preg_match_all() with large inputs was sometimes silently failing and returning only subset of matches which reduced the number of reported shortcodes,content() method effectively halving the call nesting level,xdebug.max_nesting_level during parse() to prevent development environment parsing errors,* is now a valid shortcode name,Processor improvements,Extended parameter simple values possible value range, #44.
Extended parameter simple values possible value range, #44.
Fixed minor WordPress compatibility issue with content detection in WordpressParser.
Fixed minor WordPress compatibility issue with content detection in WordpressParser.
Fixed bug happening when computing replacement of shortcode without handler that contained multibyte content.
Fixed bug happening when computing replacement of shortcode without handler that contained multibyte content.
Fixed issue with parsing shortcode tokens inside shortcode content.
Fixed issue with parsing shortcode tokens inside shortcode content.
Fixed bug with not recalculating new text length after applying shortcode replacement which caused the replacements to be applied only up to the lengt
Fixed bug with not recalculating new text length after applying shortcode replacement which caused the replacements to be applied only up to the length of source text. Thanks to @Jonatanmdez for reporting it in issue #37.
Events subsystem, builtin event handlers, builtin shortcode handlers, rewritten README, standardized shortcode name validation, ReplacedShortcode to r
Events subsystem, builtin event handlers, builtin shortcode handlers, rewritten README, standardized shortcode name validation, ReplacedShortcode to represent handler result instead of internal array, getBaseOffset() and better WordpressParser compatibility with WordPress.
Massive performance improvements in RegularParser, fixed problem with multibyte characters in parsed texts, fixed matching shortcodes with invalid nam
Massive performance improvements in RegularParser, fixed problem with multibyte characters in parsed texts, fixed matching shortcodes with invalid names.
Fixed bug with subsequent string tokens in RegularParser, added corresponding test cases.
Fixed bug with subsequent string tokens in RegularParser, added corresponding test cases.
Fixed a bug with shortcode replacement when it contained multibyte characters.
Fixed a bug with shortcode replacement when it contained multibyte characters.
Removed all deprecated features from v0.4.0, added XML and YAML serializers, added RegularParser and WordpressParser, added HandlerContainer abstracti…
Removed all deprecated features from v0.4.0, added XML and YAML serializers, added RegularParser and WordpressParser, added HandlerContainer abstraction. This was meant to be a 1.0.0 release, but I'm still working on several ideas and want to test them before first stable release (should be released soon).
Introduced UPGRADE document which describes possible breaking changes in future releases. Next release will be BC breaking and will clean everything.
Intermediate release with many fixes and improvements. BC was kept intact, though nearly all classes were moved into new places. Introduced UPGRADE document which describes possible breaking changes in future releases. Next release will be BC breaking and will clean everything.
Whitespaced syntax, library facade and self-closing tags.
Whitespaced syntax, library facade and self-closing tags.
Nothing published for this version
Fixed matching simple parameter values using delimiters, added missing support for escaping characters inside parameter values.
Fixed matching simple parameter values using delimiters, added missing support for escaping characters inside parameter values.
Recursive and iterative processing, HandlerInterface, default handler, handler aliases and configurable shortcode syntax with builder.
Recursive and iterative processing, HandlerInterface, default handler, handler aliases and configurable shortcode syntax with builder.
Nothing published for this version
One column per quarter.