PHPackages                             migratetoflarum/fake-data - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. migratetoflarum/fake-data

ActiveFlarum-extension[Testing &amp; Quality](/categories/testing)

migratetoflarum/fake-data
=========================

Generate fake data for testing.

1.4.0(3y ago)97.4k↑450%6[3 PRs](https://github.com/migratetoflarum/fake-data/pulls)MITPHP

Since Aug 28Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/migratetoflarum/fake-data)[ Packagist](https://packagist.org/packages/migratetoflarum/fake-data)[ RSS](/packages/migratetoflarum-fake-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (24)Used By (0)

Fake Data by MigrateToFlarum
============================

[](#fake-data-by-migratetoflarum)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/migratetoflarum/fake-data/blob/master/LICENSE.txt) [![Latest Stable Version](https://camo.githubusercontent.com/43226f8b87b6c10473e9c3aa2dc445c61ab66609dcf6b958b3dc56cca43bf27b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696772617465746f666c6172756d2f66616b652d646174612e737667)](https://packagist.org/packages/migratetoflarum/fake-data) [![Total Downloads](https://camo.githubusercontent.com/cf2be613ab04873189515d25dcab1509fc8461503fda26a6237b14b4e4589c93/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696772617465746f666c6172756d2f66616b652d646174612e737667)](https://packagist.org/packages/migratetoflarum/fake-data) [![Donate](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/clarkwinkelmann)

This extension allows you to generate fake data to test your forum.

You choose the number of new users, discussions and posts.

If you do not create new users, random existing users will be picked as authors for new discussions and posts. Alternatively, a list of user-provided user IDs can be used (REST API and command line only).

If you do not create new discussions, random existing discussions will be picked for new posts. Alternatively, a list of user-provided discussion IDs can be used (REST API and command line only).

A new button is added on discussions if you want to generate replies to that discussion only.

The date seed is made of two options: start date will be parsed by `Carbon::parse()`, so it accepts dates in many formats (example `2021-01-01 15:00:00`) as well as human time (example `2 days ago`). Date interval is in seconds. Every time the seed needs a date, the interval will be used to make it unique (user join date, discussion creation time, reply time, ...) If you generate many records at once with the default date settings, part of the content will end up a few minutes or hours in the future.

The extension can be used via 3 different methods:

- Via the Flarum frontend, in the admin panel (global seed) or in the discussion action dropdown (discussion seed).
- Via the command line. Run `php flarum help migratetoflarum:fake-data` to view the list of options.
- Via the REST API. Perform a `POST` request to `/api/fake-data`. The body can be JSON or any format recognized by Flarum. The parameters have the same name as the command line, for example `user_count`.

**Even though the feature is restricted to admin accounts, It's probably best to not install this on a production forum!**

There is no way to mass delete the generated data.

Installation
------------

[](#installation)

```
composer require migratetoflarum/fake-data

```

A MigrateToFlarum extension
---------------------------

[](#a-migratetoflarum-extension)

This is a free extension by MigrateToFlarum, an online forum migration tool (launching soon). Follow us on Twitter for updates

Need a custom Flarum extension ? [Contact Clark Winkelmann !](https://clarkwinkelmann.com/flarum)

Links
-----

[](#links)

- [Flarum Discuss post](https://discuss.flarum.org/d/21160)
- [Source code on GitHub](https://github.com/migratetoflarum/fake-data)
- [Report an issue](https://github.com/migratetoflarum/fake-data/issues)
- [Download via Packagist](https://packagist.org/packages/migratetoflarum/fake-data)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance49

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~127 days

Recently: every ~310 days

Total

19

Last Release

165d ago

Major Versions

0.3.6 → 1.0.02021-05-19

1.4.0 → 2.0.0-beta.12025-11-25

### 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 (37 commits)")[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (1 commits)")

---

Tags

datafakeextensionflarum

### Embed Badge

![Health badge](/badges/migratetoflarum-fake-data/health.svg)

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

###  Alternatives

[fakerino/fakerino

Faker framework, for generate every kind of fake data for test, database seed, mock responses, other

12214.8k5](/packages/fakerino-fakerino)[ybelenko/openapi-data-mocker

Library that generates fake data from Swagger 2.0|Openapi 3.0 spec

1230.5k1](/packages/ybelenko-openapi-data-mocker)[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)[remithomas/rt-extends

ZF2 useful tools

143.4k](/packages/remithomas-rt-extends)

PHPackages © 2026

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