PHP code example of golonka / bbcodeparser

1. Go to this page and download the library: Download golonka/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/ */

    

golonka / bbcodeparser example snippets

 php
    $bbcode = new Golonka\BBCode\BBCodeParser;

    echo $bbcode->parseCaseSensitive('[b]Bold[/b] [I]Italic![/I]');
         // <strong>Bold</strong> [I]Italic![/I]
 php
'Golonka\BBCode\BBCodeParserServiceProvider'
 php
'BBCode' => 'Golonka\BBCode\Facades\BBCodeParser'