PHPackages                             srokap/data\_generator - 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. srokap/data\_generator

ActiveElgg-plugin

srokap/data\_generator
======================

Elgg plugin, that allows to fill-up Elgg installation with a lot of fake data.

579[2 issues](https://github.com/Srokap/data_generator/issues)PHP

Since Apr 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Srokap/data_generator)[ Packagist](https://packagist.org/packages/srokap/data_generator)[ RSS](/packages/srokap-data-generator/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Data Generator
==============

[](#data-generator)

Elgg plugin that allows to fill-up your installation with a lot of fake data. It's meant for benchmarking your installation on high volumes of data. **Do not use on production sites!**

Usage
-----

[](#usage)

For smaller amounts of data, you may use page in admin panel. Go to *Develop* -&gt; *Data Generator* in admin panel.

For large amount of data, you need to use command line interface. To do so, go to plugin directory (`mod/data_generator`) and call `php cli_run.php` with proper parameters. To see available parameters, run `php cli_run.php --help`. It will output following information:

```
Usage: cli_run.php [OPTIONS]

Options are:
-a N, --amount N	Sets N as amount of items to generate. Required.

-p P, --profile P	Sets P as chosen profile that determines type of items
			to generate. Run without value to get list of possible
			values. Required.

-l L, --locale L	Sets L as localization of generated content. Some
			of valid options may not be fully supported. Run
			without value to get list of possible values. Required.

-h, --help		Outputs this help info.

```

Please consider locales other than en\_\* as experimental.

Profiles
--------

[](#profiles)

Currently implemented data generation scenarios (called "profiles") are:

- **newUserEntity** - generates new ElggUser entities with filled profile data as in vanilla Elgg install
- **usersRelationshipFriend** - creates friend relationsips between existing ElggUser entities
- **newBlogEntity** - generates new ElggBlog entities in various possible states that may be produced by bundled *blog* plugin
- **blogAnnotationRevision** - adds revision annotations to existing ElggBlog entities
- **blogAnnotationComment** - adds comment annotations to existing ElggBlog entities (that won't work correctly on elgg 1.9 that migrated comments from annotations to entities)

Known issues
------------

[](#known-issues)

- Cyrylic usernames are not handled by the core and may not work correctly with common plugins. Use at your own risk.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/02bf9caf771dc95e22305385bdc22fd68356d3bbc97d65035cf376bd8d2b0197?d=identicon)[Srokap](/maintainers/Srokap)

---

Top Contributors

[![Srokap](https://avatars.githubusercontent.com/u/1339628?v=4)](https://github.com/Srokap "Srokap (13 commits)")

### Embed Badge

![Health badge](/badges/srokap-data-generator/health.svg)

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

PHPackages © 2026

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