horde / text_wiki
More info available on: http://pear.php.net/package/Text_Wiki
2.0.0-alpha.2
2025-05-29 08:02 UTC
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12
This package is auto-updated.
Last update: 2025-05-29 08:04:53 UTC
README
This library parses various styles of Wiki markup and renders them to HTML, plain text, tex and other viewing/printing formats. Its prime usage in Horde is driving the Wicked wiki application.
Heritage and conversion approach
This is a spinoff of pear/text_wiki and its subclasses
- pear/text_wiki_tiki
- pear/text_wiki_mediawiki
- pear/text_wiki_creole
- pear/text_wiki_doku
- pear/text_wiki_docbook
- pear/text_wiki_cowiki
- pear/text_wiki_bbcode
The master branch contains Jan Schneider's original preservation-oriented fork from mid 2010s. FRAMEWORK_6_0 tries to port to namespaces, PSR-4 and PHP-8 native equivalents of pearisms and artifacts of PHP 4 era heritage
- PEAR_Exception is substituted by PHP 8's native exception tree.
- Integration with Horde's own exception tree or helper class ecosystem is avoided.
- The class hierarchy is still very much inheritance oriented. Properties thus tend to be protected rather than private and in many cases even public. This might change in later major versions.