PHPackages                             mifka01/bb2md - 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. mifka01/bb2md

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

mifka01/bb2md
=============

A class to translate text from BBcode to Markdown.

06PHP

Since Aug 21Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

bb2md
=====

[](#bb2md)

A class to translate a text **from BBCode to Markdown**.

The BBCode to Markdown converter is able to convert: bold, italic, underline and strikethrough texts, lists, urls, images, quotes, BB2 images and even code blocks (snippets).

Composer Installation
---------------------

[](#composer-installation)

To install bb2md, you first need to install [Composer](http://getcomposer.org/)

bb2md Installation
------------------

[](#bb2md-installation)

Once you have installed Composer, it's easy install bb2md.

```
composer require mifka01/bb2md "dev-master"

```

2. Run the following command in your project root dir:

```
composer update
```

Usage
-----

[](#usage)

BBCode to Markdown conversion:

```
use mifka01\bb2md\BBCodeConverter;

$converter = new BBCodeConverter();
$convertedText = $converter->toMarkdown($text);
```

Choose language for img alts:

```
// available - en (default), cs
$converter = new BBCodeConverter('cs');
```

Requirements
------------

[](#requirements)

- PHP 7.4.0 or above.

Authors
-------

[](#authors)

Filippo F. Fadda -  -

Radim Mifka -

License
-------

[](#license)

bb2md is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/928f178faafeaea0b3ae46b200917afe06834c240176df42a7b338f876ca80da?d=identicon)[mifka01](/maintainers/mifka01)

---

Top Contributors

[![dedalozzo](https://avatars.githubusercontent.com/u/311248?v=4)](https://github.com/dedalozzo "dedalozzo (46 commits)")[![mifka01](https://avatars.githubusercontent.com/u/53938468?v=4)](https://github.com/mifka01 "mifka01 (11 commits)")[![roni-estein](https://avatars.githubusercontent.com/u/8517475?v=4)](https://github.com/roni-estein "roni-estein (2 commits)")[![chellem](https://avatars.githubusercontent.com/u/570856?v=4)](https://github.com/chellem "chellem (1 commits)")[![mhatma](https://avatars.githubusercontent.com/u/4669145?v=4)](https://github.com/mhatma "mhatma (1 commits)")

### Embed Badge

![Health badge](/badges/mifka01-bb2md/health.svg)

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

###  Alternatives

[dtr/ip

An IPv4/v6 Helper Suite for PHP

2129.2k1](/packages/dtr-ip)[shel/neos-commandbar

A commandbar (CMD+K) for Neos CMS

1614.6k1](/packages/shel-neos-commandbar)

PHPackages © 2026

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