gemorroj/xbbcode

BBCode parser

2.8.1 2024-09-29 18:22 UTC

This package is auto-updated.

Last update: 2024-11-29 19:14:43 UTC


README

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