Bokt / flarum-phpbb-migrate

Migrates from phpbb to flarum.
MIT License
15 stars 3 forks source link

Migrate PhpBB to Flarum

This extension allows migrating a phpbb forum to flarum.

Please note:

Installation

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 bokt.nl using PhpBB 3.x.

Configuration

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,
    ]
];

Use

Run the command.

php flarum phpbb:migrate

You should be able to rerun this command.