PHP code example of ncgamers / qikbb
1. Go to this page and download the library: Download ncgamers/qikbb 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/ */
ncgamers / qikbb example snippets
// This assumes that auto-loading is already done
use qikbb\Engine;
use qikbb\sets\DefaultBBSet;
$engine = new Engine(new DefaultBBSet());
echo $engine->parse('[b]bold[/b]');
// <span class="bold">bold</span>