PHP code example of weiloon1234 / bbcodeparser
1. Go to this page and download the library: Download weiloon1234/bbcodeparser library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
weiloon1234 / bbcodeparser example snippets
php
$bbcode = new Weiloon1234\BBCode\BBCodeParser;
echo $bbcode->parseCaseSensitive('[b]Bold[/b] [I]Italic![/I]');
// <strong>Bold</strong> [I]Italic![/I]
php
'Weiloon1234\BBCode\BBCodeParserServiceProvider'
php
'BBCode' => 'Weiloon1234\BBCode\Facades\BBCodeParser'