PHPackages                             migratetoflarum/renumber-posts - 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. [Database &amp; ORM](/categories/database)
4. /
5. migratetoflarum/renumber-posts

ActiveFlarum-extension[Database &amp; ORM](/categories/database)

migratetoflarum/renumber-posts
==============================

Re-number posts on the forum

0.1.1(5y ago)07MITPHP

Since Oct 29Pushed 5y agoCompare

[ Source](https://github.com/migratetoflarum/renumber-posts)[ Packagist](https://packagist.org/packages/migratetoflarum/renumber-posts)[ RSS](/packages/migratetoflarum-renumber-posts/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Renumber Posts
==============

[](#renumber-posts)

This extension re-numbers posts in discussions on demand.

Why you might need this extension:

- You manually imported data into your forum and need to create the number values
- You want to clean existing data with a lot of missing numbers between posts and don't care about the permalinks

I strongly recommend you test the command on a backup first before running it on your live data!

Installation and update
-----------------------

[](#installation-and-update)

```
composer require migratetoflarum/renumber-posts

```

Documentation
-------------

[](#documentation)

The extension is implemented as a command line utility. Enable the extension in Flarum admin panel, then open a terminal and `cd` into the Flarum folder.

Running the command without any parameter will perform a dry run (does not update anything):

```
php flarum migratetoflarum:renumber

```

You can enable or disable various calculations with command options.

For example, to only add numbers to posts without number:

```
php flarum migratetoflarum:renumber --partial --missing

```

To number every post of every discussion chronologically:

```
php flarum migratetoflarum:renumber --all

```

To re-number only discussions where duplicate post numbers were found

```
php flarum migratetoflarum:renumber --fix-duplicates

```

To get a list of all available options, run:

```
php flarum help migratetoflarum:renumber

```

Removal
-------

[](#removal)

When you are done with the update, you can safely remove the extension. It does not need to stay installed.

```
composer remove migratetoflarum/renumber-posts

```

Links
-----

[](#links)

- [Source code on GitHub](https://github.com/migratetoflarum/renumber-posts)
- [Report an issue](https://github.com/migratetoflarum/renumber-posts/issues)
- [Download via Packagist](https://packagist.org/packages/migratetoflarum/renumber-posts)

The initial version of this extension was sponsored by [@Wadera](https://discuss.flarum.org/u/Wadera)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Every ~168 days

Total

2

Last Release

1849d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (2 commits)")

---

Tags

migrationextensionnumberflarum

### Embed Badge

![Health badge](/badges/migratetoflarum-renumber-posts/health.svg)

```
[![Health](https://phpackages.com/badges/migratetoflarum-renumber-posts/health.svg)](https://phpackages.com/packages/migratetoflarum-renumber-posts)
```

###  Alternatives

[c006/yii2-migration-utility

Automatically writes the create tables for migrations or create tables in general

63160.6k1](/packages/c006-yii2-migration-utility)[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

31295.5k6](/packages/dmstr-yii2-migrate-command)[hzhihua/yii2-dump

Generate the schema from an existing database

1828.5k1](/packages/hzhihua-yii2-dump)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

2033.8k](/packages/flarum-lang-french)[flarum/gdpr

Features for GDPR, PII management

1425.2k15](/packages/flarum-gdpr)

PHPackages © 2026

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