PHPackages                             thunder/sampler - 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. [CLI &amp; Console](/categories/cli)
4. /
5. thunder/sampler

ActiveDrupal-module[CLI &amp; Console](/categories/cli)

thunder/sampler
===============

Provide Drush 8, 9 and Drupal console commands to sample statistical data for the Thunder performance project.

113.5k↓66.7%1[2 issues](https://github.com/thunder/sampler/issues)[1 PRs](https://github.com/thunder/sampler/pulls)PHP

Since Jul 17Pushed 6y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Sampler
=======

[](#sampler)

This module offers sampling of data for the Thunder performance project.

Prerequisites
-------------

[](#prerequisites)

Your project should be setup to use composer for installing required modules. Projects, that are differently setup are not supported.

This module provides Drush and Drupal console commands only. If you do not already use either Drush or Drupal console, install one of them before continuing.

See  and  for more information on how to install them.

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

[](#installation)

In your project root do:

```
composer require thunder/sampler

```

Then enable the sampler module, either with command line or in the admin ui. Flush the caches and you are ready to go.

Usage
-----

[](#usage)

Do not use the commands on a production system! It might slow your system down.

In your docroot call either:

```
drush sampler:report

```

or

```
drupal sampler:report

```

You should see a json containing the sampled data. If you prefer to put the information into a file add a filename as parameter:

```
drupal sampler:report --file=report.json

```

This will write the data into the file report.json in your docroot.

By default, the sampler replaces bundle names with generic names. if you want to see the actual bundle names in the report, you can switch the behaviour with the anonymize option:

```
drupal sampler:report --anonymize=0

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.3% 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/dfe90fee04d5ef4d2bd1ea46dc65f6aec95b2486e2ce47f3439b3e06eb2f37dd?d=identicon)[dbosen](/maintainers/dbosen)

---

Top Contributors

[![dbosen](https://avatars.githubusercontent.com/u/6398151?v=4)](https://github.com/dbosen "dbosen (29 commits)")[![chrfritsch](https://avatars.githubusercontent.com/u/731161?v=4)](https://github.com/chrfritsch "chrfritsch (5 commits)")

### Embed Badge

![Health badge](/badges/thunder-sampler/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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