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.
✨ 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
_oldsuffix 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
vendordirectory. - Include/Exclude user uploads (avatars, attachments).
- Include/Exclude
config.php(sensitive credentials) in backups.
- Include/Exclude
- 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
- Go to Admin > Migration Tool > Backup tab.
- Select your desired options (Exclude
vendorfor smaller files). - Click Create Backup. Watch the real-time progress bar.
- Once finished, click Download to save the ZIP to your computer.
Step 2: Restore on Destination Server
- Install this extension on your new Flarum site.
- Go to Admin > Migration Tool > Migrate tab.
- Upload your ZIP backup file.
- The tool will auto-fill your current server's DB details. Update if you are migrating to a different database.
- Click Start Migration. The tool will:
- Backup existing files to
*_old. - Replace the database.
- Restore your files.
- Backup existing files to
- Check your site. If everything is perfect, click Cleanup Old Files to delete the
_olditems.
📋 Requirements
- Flarum v1.0+
- PHP
zipextension enabled. - Write permissions for
storageand root directories. - MySQL/MariaDB database.
🛡 Security & Safety
- No Data Deletion: Migrations use high-level safety renaming. Your old files are kept safe as
_olduntil you choose to delete them. - Cleanup Tool: Ensures no sensitive
_oldfiles (likeconfig.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
nauhyuh/flarum-migration-tool 适用场景与选型建议
nauhyuh/flarum-migration-tool 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 106 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 01 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「migration」 「backup」 「transfer」 「restore」 「flarum」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nauhyuh/flarum-migration-tool 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nauhyuh/flarum-migration-tool 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nauhyuh/flarum-migration-tool 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A SDK for working with B2 cloud storage.
A custom URL rule class for Yii 2 which allows to create translated URL rules
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
A sleek PHP wrapper around rclone with Laravel-style fluent API syntax
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
统计信息
- 总下载量: 106
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-30