php-extended / php-bbcode-parser-object
This package is abandoned and no longer maintained.
The author suggests using the php-extended/php-bbcode-object package instead.
A library that implements the php-extended/php-bbcode-parser-interface interface library.
4.0.15
2021-06-25 17:31 UTC
Requires
Requires (Dev)
README
A library that implements the php-extended/php-bbcode-parser-interface interface library.
Installation
The installation of this library is made via composer.
Download composer.phar
from their website.
Then add to your composer.json :
"require": {
...
"php-extended/php-bbcode-parser-object": "^4",
...
}
Then run php composer.phar update
to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
Basic Usage
You may use this library the following way :
use PhpExtended\Bbcode\BbcodeParser;
$parser = new BbcodeParser()
$root = $parser->parse('<data>');
// $root is now a BbcodeCollectionNodeInterface
License
MIT (See license file).