PHPackages                             onexin/discuzxtq - 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. onexin/discuzxtq

ActiveProject

onexin/discuzxtq
================

convert discuz!X to discuz!Q

1.0.8(4y ago)18MITPHPPHP ^7.2.5

Since Sep 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/onexincom/xconvertq)[ Packagist](https://packagist.org/packages/onexin/discuzxtq)[ RSS](/packages/onexin-discuzxtq/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

DiscuzX3.4转换DiscuzQ 3.0工具
=========================

[](#discuzx34转换discuzq-30工具)

### 介绍

[](#介绍)

Discuz! X3.4 转换 Discuz! Q 3.0 转换测试，代码优化记录于此。

### 前提条件

[](#前提条件)

已部署 Discuz! Q3.0 和 Discuz! X3.4。 具备 PHP 7.2.5 及以上环境的主机。

### 安装教程

[](#安装教程)

1. 使用composer安装该项目xconvertq文件：`composer create-project onexin/discuzxtq`
2. 打开Discuz!Q官方的教程：
3. 继续操作，直到成功。

### 值得一提的事：

[](#值得一提的事)

1、转换提示编码错误BUG： 打开 config/datebase.php文件，修改

```
        'charset'   => 'utf8', //Q数据编码
        'collation' => 'utf8mb4_unicode_ci', //Q数据库字符集
```

修改为：

```
        'charset'   => 'utf8mb4', //Q数据编码
        'collation' => 'utf8mb4_unicode_ci', //Q数据库字符集
```

2、本转换工具优化了\[code\]标签相关代码的转换，将Q3.0贴子类型type值设为99解决回贴空白的BUG。

3、转换中可能会用到的命令，一次没成功再来一次，直到成功。

```
# 开始转换所有数据
> php discoa app:xtq

# 清空Q数据库
> php discoa app:clean cleanDatabase
```

### 交流实践

[](#交流实践)

- ONEXIN大数据新手Q群：189610242
- Github:
- Gitee:

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1711d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/218b1f55e18cbb677f31330a6a8e587407b9eedb747ae1d9738cb6ef284be67c?d=identicon)[onexincom](/maintainers/onexincom)

---

Top Contributors

[![onexincom](https://avatars.githubusercontent.com/u/585177?v=4)](https://github.com/onexincom "onexincom (14 commits)")

---

Tags

convertdiscuzcomsenz

### Embed Badge

![Health badge](/badges/onexin-discuzxtq/health.svg)

```
[![Health](https://phpackages.com/badges/onexin-discuzxtq/health.svg)](https://phpackages.com/packages/onexin-discuzxtq)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.1M11](/packages/bavix-laravel-wallet)

PHPackages © 2026

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