PHPackages                             electriccitizen/bolt-inspect - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. electriccitizen/bolt-inspect

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

electriccitizen/bolt-inspect
============================

Drupal site introspection and test content management for Bolt CLI

v0.5.0(2mo ago)0104GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Mar 14Pushed 1mo agoCompare

[ Source](https://github.com/electriccitizen/bolt-inspect)[ Packagist](https://packagist.org/packages/electriccitizen/bolt-inspect)[ Docs](https://github.com/electriccitizen/bolt-inspect)[ RSS](/packages/electriccitizen-bolt-inspect/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

   Generated at 2026-04-27  Bolt Inspect — Documentation
============================

[](#bolt-inspect--documentation)

Drupal 11+ module that exposes a site's structure and manages disposable test content for the [Bolt CLI](https://github.com/electriccitizen/bolt)test runner. This module is the in-Drupal half of Bolt; the Node.js CLI shells out to it via Drush.

ItemValuePackage`electriccitizen/bolt-inspect`Module name`bolt_inspect`Version0.5.0Drupal core`^11`PHP`>=8.1`Drush services`^13`Required ext`ext-gd` (placeholder image generation)LicenseGPL-2.0-or-laterWhat it does
------------

[](#what-it-does)

1. **Profile the site** (`drush bolt-inspect:profile`) — emits a single JSON document describing content types, paragraph bundles, fields, menus, media types, enabled and custom modules, accessible frontend routes, representative URLs, and sample referenceable entities. This is the contract Bolt's plugins read to decide what to test.
2. **Generate test content** (`drush bolt-inspect:generate`) — creates one unpublished node per content type, populating required fields (and any field referenced by an `auto_entitylabel` token pattern). Supporting entities (terms, media, files, paragraphs) are created on demand and tracked.
3. **Render-check** (`drush bolt-inspect:render-check`) — renders each generated test node in isolation and reports per-bundle status.
4. **Cleanup** (`drush bolt-inspect:cleanup`) — deletes everything that was tracked, in reverse creation order. Uninstalling the module also wipes `public://bolt-test/` and the tracking state.

The module is designed to leave **no traces**: tracked-only deletion, state cleared on uninstall, no config entities, no schema changes.

Documents in this directory
---------------------------

[](#documents-in-this-directory)

- [`commands.md`](commands.md) — Drush command reference and example output.
- [`site-profile.md`](site-profile.md) — JSON contract emitted by `bolt-inspect:profile`, field-by-field.
- [`architecture.md`](architecture.md) — services, classes, file layout, and how Bolt CLI consumes the module.

Install (standalone)
--------------------

[](#install-standalone)

```
composer require electriccitizen/bolt-inspect
drush en bolt_inspect -y
drush bolt-inspect:profile | jq .
```

In normal use you never install this module directly — `bolt init` does it from the host project. See the Bolt CLI README for the host-side flow.

Uninstall
---------

[](#uninstall)

```
drush pmu bolt_inspect -y
composer remove electriccitizen/bolt-inspect
```

`hook_uninstall()` deletes the `bolt_inspect.tracked_entities` state key and recursively removes `public://bolt-test/`. Run `drush bolt-inspect:cleanup` first if tracked entities still exist — once the module is uninstalled, the tracker is gone and stragglers must be deleted by hand.

Revisions
---------

[](#revisions)

DateChange2026-04-27Initial documentation set for v0.5.0.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance88

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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 ~6 days

Total

7

Last Release

61d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c5e87ac2f977122066125f3fd58fa338a865787792d8509b8b7891df6c8ef9f?d=identicon)[ecitizen](/maintainers/ecitizen)

---

Top Contributors

[![broeker](https://avatars.githubusercontent.com/u/30089460?v=4)](https://github.com/broeker "broeker (8 commits)")

### Embed Badge

![Health badge](/badges/electriccitizen-bolt-inspect/health.svg)

```
[![Health](https://phpackages.com/badges/electriccitizen-bolt-inspect/health.svg)](https://phpackages.com/packages/electriccitizen-bolt-inspect)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.0k1](/packages/farmos-farmos)

PHPackages © 2026

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