Allows migrating phpbb to flarum

dev-master 2021-04-17 17:21 UTC

This package is auto-updated.

Last update: 2024-03-17 23:54:28 UTC


This extension allows migrating a phpbb forum to flarum.

Please note:

  • duplicate email addresses get subaddressing added with the user id: test@local.test becomes test+34@local.test
  • usernames are normalised to be only strings and numbers, the 3 minimum limit has bee reduced to 1
  • this extension might need customisation for your specific phpbb forum, file an issue with questions please


Use Bazaar or install using composer:

$ composer require bokt/flarum-phpbb-migrate

After that enable the extension in your admin area.

Based on a migration from using PhpBB 3.x.


Inside your config.php create a new key phpbb with the database information for the PhpBB forum you want to migrate, like so:

return [
    'url' => '..',
    // .. other stuff
    'phpbb' => [
        'driver'    => 'mysql',
        'host'      => 'localhost',
        'database'  => 'phpbb',
        'username'  => 'root',
        'password'  => '',
        'charset'   => 'utf8mb4',
        'collation' => 'utf8mb4_unicode_ci',
        'prefix'    => '',
        'port'      => '3306',
        'strict'    => false,


Run the command.

php flarum phpbb:migrate

You should be able to rerun this command.