PHPackages                             fof/bbcode-tabs - 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. fof/bbcode-tabs

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

fof/bbcode-tabs
===============

Add tabs to your posts by using BBCode tags

1.0.4(2mo ago)210.6k1[1 PRs](https://github.com/FriendsOfFlarum/bbcode-tabs/pulls)MITTypeScriptCI passing

Since Aug 14Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/bbcode-tabs)[ Packagist](https://packagist.org/packages/fof/bbcode-tabs)[ Docs](https://friendsofflarum.org)[ Fund](https://opencollective.com/fof/donate)[ RSS](/packages/fof-bbcode-tabs/feed)WikiDiscussions 2.x Synced 2d ago

READMEChangelog (8)Dependencies (3)Versions (16)Used By (0)

BBCode Tabs by FriendsOfFlarum
==============================

[](#bbcode-tabs-by-friendsofflarum)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/c2cad01b91697e5c441fb678e2ebc9d73ae0ed4feee006f873c34617a29db83a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f6262636f64652d746162732e737667)](https://packagist.org/packages/fof/bbcode-tabs) [![OpenCollective](https://camo.githubusercontent.com/1903c197bb0307e60d6328653532b8a6b9890b898fbc92e314ab39d699491e74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e636f6c6c6563746976652d666f662d626c75652e737667)](https://opencollective.com/fof/donate) [![Donate](https://camo.githubusercontent.com/6c7b26396e320eb8dd60d767a4500684b60bb7d37f7cacbaf6b2eae6f2d30010/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d6461746974697365762d696d706f7274616e742e737667)](https://datitisev.me/donate)

A [Flarum](http://flarum.org) extension. Add tabs to your posts by using BBCode tags.

### Usage

[](#usage)

```
[tabs]
    [tab="hi"]Hi[/tab]
    [tab="hello"]Hello[/tab]
    [tab="lorem" fullheight=]ipsum ....[/tab]
    [tab="custom height" height="50"]custom height tab[/tab]
[/tabs]

```

To make a tag active by default:

```
[tab="[NAME]" active="[ANYTHING]"]...[/tab]
[tab name="[NAME]" active="[ANYTHING]"]...[/tab]

```

**BBCode Tags**

- `[tabs]` wrapper tag with optional attributes:
    - `height` (optional): numeric height in pixels for tab content (`height="240"` -&gt; 240px).
    - `fullheight` (optional): use automatic content height.
- `[tab]` child tag with required and optional attributes
    - `name` (required): tab label text.
    - `active` (optional): marks that tab as initially selected.
    - `height` (optional): per-tab pixel height override.
    - `fullheight` (optional): per-tab automatic height override.

The attributes that do not require a value (`active`, `fullheight`) need to have a value, even if it is empty. Thus, just `active` is not valid but `active=` and `active="..."` are valid.

### Installation

[](#installation)

Install with composer:

```
composer require fof/bbcode-tabs:"*"
```

### Updating

[](#updating)

```
composer update fof/bbcode-tabs
```

### Links

[](#links)

[![OpenCollective](https://camo.githubusercontent.com/8ea53c451470d1a72789d650c77e2b22eee915f7fbf2cbeeeeaa25f47301efe2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d667269656e64736f66666c6172756d2d3434414545353f7374796c653d666f722d7468652d6261646765266c6f676f3d6f70656e2d636f6c6c656374697665)](https://opencollective.com/fof/donate)

- [Packagist](https://packagist.org/packages/fof/bbcode-tabs)
- [GitHub](https://github.com/FriendsOfFlarum/bbcode-tabs)
- [Discuss](https://discuss.flarum.org/d/27309-bbcode-tabs)

An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum).

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~206 days

Recently: every ~291 days

Total

13

Last Release

44d ago

Major Versions

0.3.0 → 1.0.02021-05-24

1.x-dev → 2.0.0-beta.12026-05-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

![](https://avatars.githubusercontent.com/u/1630413?v=4)[Gregor Hammerschmidt](/maintainers/GreXXL)[@GreXXL](https://github.com/GreXXL)

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

![](https://www.gravatar.com/avatar/1298cdc0b2402a1aa34fb75a254947d655e090d62bd0531311331d369cac934e?d=identicon)[datitisev](/maintainers/datitisev)

---

Top Contributors

[![dsevillamartin](https://avatars.githubusercontent.com/u/6401250?v=4)](https://github.com/dsevillamartin "dsevillamartin (17 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (11 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (9 commits)")[![karaok491](https://avatars.githubusercontent.com/u/72854852?v=4)](https://github.com/karaok491 "karaok491 (2 commits)")[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (1 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/fof-bbcode-tabs/health.svg)

```
[![Health](https://phpackages.com/badges/fof-bbcode-tabs/health.svg)](https://phpackages.com/packages/fof-bbcode-tabs)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[fof/byobu

Well integrated, advanced private discussions.

59120.6k13](/packages/fof-byobu)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1034.8k4](/packages/fof-discussion-language)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1938.7k](/packages/flarum-lang-french)[fof/gamification

Upvotes and downvotes for your Flarum community

4066.1k8](/packages/fof-gamification)[fof/best-answer

Mark a post as the best answer in a discussion

25154.0k20](/packages/fof-best-answer)

PHPackages © 2026

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