承接 nauhyuh/flarum-migration-tool 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nauhyuh/flarum-migration-tool

最新稳定版本:2.4.1

Composer 安装命令:

composer require nauhyuh/flarum-migration-tool

包简介

Complete migration tool with admin UI for easy Flarum server transfer. Backup, restore, and migrate your forum with just a few clicks.

README 文档

README

A professional, safety-first migration and backup extension for Flarum. Transfer your forum between servers or create full-system backups with ease, all through a beautiful real-time Admin UI.

Version License Flarum

✨ Key Features

  • 1-Click Full Backup: Zip your entire Flarum site, including database, settings, and files.
  • Safety-First Migration: Existing server files are renamed with an _old suffix during migration. Data is never lost until you verify and click "Cleanup".
  • Real-time Progress Bar: Track every step of your backup or migration with detailed status labels and percentage updates.
  • Smart Pre-filling: Automatically detects your current server's URL and database credentials to save time during migrations.
  • Flexible Options:
    • Include/Exclude vendor directory.
    • Include/Exclude user uploads (avatars, attachments).
    • Include/Exclude config.php (sensitive credentials) in backups.
  • Robust DB Engine: Pure PHP database export/import engine designed for maximum compatibility across different hosting environments.
  • Post-Migration Cleanup: Dedicated tool to permanently remove old files once you've confirmed your new site is working perfectly.
  • Command Line Support: Advanced users can still perform migrations via php flarum migration:migrate.

🛠 Installation

Install the extension via Composer:

composer require nauhyuh/flarum-migration-tool

After installation, enable the extension in your Flarum Admin dashboard.

🚀 How to Migrate

Step 1: Create a Backup on Source Server

  1. Go to Admin > Migration Tool > Backup tab.
  2. Select your desired options (Exclude vendor for smaller files).
  3. Click Create Backup. Watch the real-time progress bar.
  4. Once finished, click Download to save the ZIP to your computer.

Step 2: Restore on Destination Server

  1. Install this extension on your new Flarum site.
  2. Go to Admin > Migration Tool > Migrate tab.
  3. Upload your ZIP backup file.
  4. The tool will auto-fill your current server's DB details. Update if you are migrating to a different database.
  5. Click Start Migration. The tool will:
    • Backup existing files to *_old.
    • Replace the database.
    • Restore your files.
  6. Check your site. If everything is perfect, click Cleanup Old Files to delete the _old items.

📋 Requirements

  • Flarum v1.0+
  • PHP zip extension enabled.
  • Write permissions for storage and root directories.
  • MySQL/MariaDB database.

🛡 Security & Safety

  • No Data Deletion: Migrations use high-level safety renaming. Your old files are kept safe as _old until you choose to delete them.
  • Cleanup Tool: Ensures no sensitive _old files (like config.php_old) are left on your server publicly.
  • Admin Only: All migration routes are strictly protected by Flarum's admin authorization.

📄 License

This project is licensed under the MIT License.

Crafted with ❤️ by Nauhyuh

统计信息

  • 总下载量: 106
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固