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

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

luceos/mybb-to-flarum
=====================

Migrate a MyBB Forum to a fresh Flarum instance

021PHP

Since Jan 25Pushed 2y agoCompare

[ Source](https://github.com/luceos/mybb_to_flarum)[ Packagist](https://packagist.org/packages/luceos/mybb-to-flarum)[ RSS](/packages/luceos-mybb-to-flarum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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.\* and Flarum v1.\**

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
  -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_"]
      --users                Import users (excluding avatars)
      --threads-posts        Import posts (excluding soft deleted posts/threads)
      --groups               Import groups
      --categories           Import categories
      --avatars              Import avatars
      --path[=PATH]          Path to the mybb forum (required for avatar and attachment migration) [default: ""]
      --soft-posts           Import soft deleted posts
      --soft-threads         Import soft deleted threads
      --attachments          Import attachments
  -h, --help                 Display help for the given command. When no command is given display help for the list command
  -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

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.2% 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://avatars.githubusercontent.com/u/504687?v=4)[Daniël Klabbers](/maintainers/Luceos)[@luceos](https://github.com/luceos)

---

Top Contributors

[![MichaelBelgium](https://avatars.githubusercontent.com/u/8951045?v=4)](https://github.com/MichaelBelgium "MichaelBelgium (130 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)")[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (4 commits)")[![rob006](https://avatars.githubusercontent.com/u/5972388?v=4)](https://github.com/rob006 "rob006 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[yii-dream-team/yii2-jstree

Yii2 JsTree assets and widget

3148.7k](/packages/yii-dream-team-yii2-jstree)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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