PHPackages                             ncgamers/qikbb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ncgamers/qikbb

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ncgamers/qikbb
==============

Another PHP BBCode implementation.

1.0.1(8y ago)015BSD-2-ClausePHPPHP &gt;=7.0.0

Since Jul 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ncgamers/qikbb)[ Packagist](https://packagist.org/packages/ncgamers/qikbb)[ Docs](http://github.com/ncgamers/qikbb)[ RSS](/packages/ncgamers-qikbb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

qikbb
=====

[](#qikbb)

Another PHP BBCode implementation.

Acknowledgements
----------------

[](#acknowledgements)

Firstly, the overall structure and code is heavily based on [jbowens/jBBCode](https://github.com/jbowens/jBBCode), which is licensed under MIT. Be sure to check out their repository.

Secondly, the validators are taken almost directly from [yiisoft/yii2](https://github.com/yiisoft/yii2) validators. Yii2 is licensed under BSD. Be sure to check out their repository.

About
-----

[](#about)

This isn't a professional project, it's just something I figured I'd share. I wanted something that was faster than JBBCode. Of course, this is also at the expense of some of the features of JBBCode, such as auto-closing tags. If you would like to contribute then open an issue or pull request and I'll take a look. However, my goal for the project isn't to overload it with features. I wanted something quick and therefore cut down on things I didn't like.

As a simple baseline, in comparison to JBBCode, I've seen my implementation perform twice as fast on small strings and up to five times as fast on longer strings.

PHP Version Support
-------------------

[](#php-version-support)

The code is currently implemented with a couple PHP 7 features, such as the null coalesce (??) operator. If there is any interest in this code I'll create a PHP 5 branch that removes the PHP 7 features.

Additionally PCRE Regex is required to use this. However, it is only used to tokenize the parser input string (which provides huge speed improvements over, for example, JBBCode's Tokenizer implementation). It is also used in the validators. Furthermore, multibyte string support is required (generally found in most distributions) and if you wish to have list tag support DOM is required (generally compiled by default).

Quick Documentation
-------------------

[](#quick-documentation)

### Composer

[](#composer)

Add the following to your composer.json

```
"require": {
    "ncgamers/qikbb": "1.0.*"
}
```

### PHP

[](#php)

```
// 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]');
// bold
```

##### Extra

[](#extra)

If you need more information regarding composer see the [documentation](https://getcomposer.org/doc/00-intro.md).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~351 days

Total

2

Last Release

3217d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81bff5909ae97a6a7121ea97e0d09ec2d18d236041599a3ba3b79cbdc21465b0?d=identicon)[Sxderp](/maintainers/Sxderp)

---

Top Contributors

[![Sxderp](https://avatars.githubusercontent.com/u/6609453?v=4)](https://github.com/Sxderp "Sxderp (7 commits)")

---

Tags

phpbbcodeBBncg

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ncgamers-qikbb/health.svg)

```
[![Health](https://phpackages.com/badges/ncgamers-qikbb/health.svg)](https://phpackages.com/packages/ncgamers-qikbb)
```

###  Alternatives

[jbbcode/jbbcode

A lightweight but extensible BBCode parser written in PHP 5.3.

164519.5k7](/packages/jbbcode-jbbcode)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
