PHPackages                             michaelbelgium/mybb-to-flarum - 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. michaelbelgium/mybb-to-flarum

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

michaelbelgium/mybb-to-flarum
=============================

Migrate a MyBB Forum to a fresh Flarum instance

v9.0.1(1mo ago)261.1k↓11.1%17[5 issues](https://github.com/MichaelBelgium/mybb_to_flarum/issues)[6 PRs](https://github.com/MichaelBelgium/mybb_to_flarum/pulls)MITPHPPHP ^8.4CI passing

Since Jan 3Pushed 4w ago3 watchersCompare

[ Source](https://github.com/MichaelBelgium/mybb_to_flarum)[ Packagist](https://packagist.org/packages/michaelbelgium/mybb-to-flarum)[ GitHub Sponsors](https://github.com/sponsors/MichaelBelgium)[ RSS](/packages/michaelbelgium-mybb-to-flarum/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (8)Dependencies (7)Versions (28)Used By (0)

mybb\_to\_flarum
================

[](#mybb_to_flarum)

This is a [Flarum](https://flarum.org/) extension to migrate data from a mybb forum to a fresh flarum instance.

[![image admin section](https://camo.githubusercontent.com/17f9265d91153d6a2c9663783ccdd1a107c8f367f8882901433b087d06323482/687474703a2f2f7075752e73682f43724133782e706e67)](https://camo.githubusercontent.com/17f9265d91153d6a2c9663783ccdd1a107c8f367f8882901433b087d06323482/687474703a2f2f7075752e73682f43724133782e706e67)

What can it migrate?
--------------------

[](#what-can-it-migrate)

In your admin panel you can choose what to migrate.

- Users (their passwords are ALL reset and they'll have to click "Forgot password?")
- Categories
- Forums
- Posts
- Groups
- Avatars
- Attachments (requires fof/upload)

Installation
------------

[](#installation)

**This extension has been tested with MyBB v1.8.39, PHP 8.4 and Flarum v2.0**

Execute this command in the root of your flarum installation: `composer require michaelbelgium/mybb-to-flarum`. Navigate to your admin panel, enable the extension and you get a new link in the admin navigation bar.

Usage
-----

[](#usage)

you can trigger the migration from the admin panel or the console:

```
> php flarum migrate-data:from-mybb

Description:
  Migrates data from an existing mybb forum

Usage:
  migrate-data:from-mybb [options]

Options:
      --host=HOST            Host of the mybb database [default: "127.0.0.1"]
  -u, --user=USER            User of the mybb database
  -p, --password[=PASSWORD]  Password for the mybb database [default: ""]
  -d, --db=DB                Name of the mybb database
      --prefix[=PREFIX]      Prefix of the mybb database tables [default: "mybb_"]
      --path[=PATH]          Path to the mybb forum (required for avatar and attachment migration) [default: ""]
      --users                Import users (excluding avatars)
      --threads-posts        Import posts (excluding soft deleted posts/threads)
      --groups               Import groups
      --categories           Import categories
      --avatars              Import avatars
      --soft-posts           Import soft deleted posts
      --soft-threads         Import soft deleted threads
      --attachments          Import attachments
      --debug                Enable logging
  -n, --no-interaction       Do not ask any interactive question

```

### Example commands

[](#example-commands)

Migrate only users and avatars

```
> php flarum migrate-data:from-mybb --host=127.0.0.1 --user=homestead --password=secret --db=mybb --users --avatars --path=../mybb

```

Migrate everything (excluding avatars and soft deleted posts/threads)

```
php flarum migrate-data:from-mybb --host=127.0.0.1 --user=homestead --password=secret --db=mybb --users --groups --threads-posts

```

Migrate users with threads and posts including soft deleted threads but excluding soft deleted posts

```
php flarum migrate-data:from-mybb --host=127.0.0.1 --user=homestead --password=secret --db=mybb --users --threads-posts --soft-threads

```

Important notes
---------------

[](#important-notes)

- If u specify u want to migrate avatars then a path to your MyBB forum is required also.
- Forums with a redirect hyperlink are skipped. Flarum doesn't support them (yet).
- A guest who created a MyBB post or thread will appear as a deleted user in Flarum and not specifically a "guest".
- The core BBcode extension should be enabled too.

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance90

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 90.6% 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 ~128 days

Recently: every ~7 days

Total

22

Last Release

32d ago

Major Versions

v5.1 → v6.02020-10-23

v6.0 → v7.02021-02-02

v7.1 → v8.02021-12-06

v8.2.1 → v9.0.02026-04-26

v8.2.2 → v9.0.12026-05-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/888b7a13d8ef5d680c9bc4a9baa1db37953015e30643e6320b3533459dd23d7a?d=identicon)[MichaelBelgium](/maintainers/MichaelBelgium)

---

Top Contributors

[![MichaelBelgium](https://avatars.githubusercontent.com/u/8951045?v=4)](https://github.com/MichaelBelgium "MichaelBelgium (144 commits)")[![dshovchko](https://avatars.githubusercontent.com/u/564184?v=4)](https://github.com/dshovchko "dshovchko (7 commits)")[![Vaalyn](https://avatars.githubusercontent.com/u/13745863?v=4)](https://github.com/Vaalyn "Vaalyn (7 commits)")[![rob006](https://avatars.githubusercontent.com/u/5972388?v=4)](https://github.com/rob006 "rob006 (1 commits)")

---

Tags

flarumflarum-installationforummybbmybb-forum

### Embed Badge

![Health badge](/badges/michaelbelgium-mybb-to-flarum/health.svg)

```
[![Health](https://phpackages.com/badges/michaelbelgium-mybb-to-flarum/health.svg)](https://phpackages.com/packages/michaelbelgium-mybb-to-flarum)
```

###  Alternatives

[fof/byobu

Well integrated, advanced private discussions.

59112.4k11](/packages/fof-byobu)[fof/discussion-language

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

1032.0k2](/packages/fof-discussion-language)[flarum-lang/russian

Russian language pack for Flarum.

12127.5k](/packages/flarum-lang-russian)[flarum/tags

Organize discussions into a hierarchy of tags and categories.

38744.9k137](/packages/flarum-tags)[fof/best-answer

Mark a post as the best answer in a discussion

25147.5k18](/packages/fof-best-answer)[fof/polls

 A Flarum extension that adds polls to your discussions

25130.2k9](/packages/fof-polls)

PHPackages © 2026

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