Skip to content

AndryG/xBBCode

 
 

Repository files navigation

Parser BBcode

Continuous Integration

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

Packages

No packages published

Languages

  • PHP 98.3%
  • CSS 1.7%