gemorroj / xbbcode
BBCode parser
Installs: 4 847
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 6
Forks: 11
Open Issues: 0
Requires
- php: >=8.0.2
- geshi/geshi: ^v1.0.9.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpunit/phpunit: ^9.6
README
Example:
<?php use Xbbcode\Xbbcode; $text = 'Это [b]пример[/b] работы парсера [url=https://github.com/Gemorroj/xBBCode]xBBCode[/url].'; $xbbcode = new Xbbcode(); $xbbcode->parse($text); echo $xbbcode->getHtml();
Requirements:
- PHP >= 8.0.2
Installation:
composer require gemorroj/xbbcode
License:
- GNU GPL v 2