PHPackages                             wundii/structron - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. wundii/structron

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

wundii/structron
================

A PHP library for generating human-readable documentation from structured data objects like DTOs, Entities, and Value Objects.

1.0.6(3mo ago)13811MITPHPPHP &gt;=8.2CI passing

Since Jun 24Pushed 1mo agoCompare

[ Source](https://github.com/wundii/structron)[ Packagist](https://packagist.org/packages/wundii/structron)[ RSS](/packages/wundii-structron/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (13)Versions (14)Used By (1)

[![PHP-Tests](https://camo.githubusercontent.com/41f0fddc5a80111b0acf02a3385a6f2f94a3c05dc7a109754435c5367fbfb444/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77756e6469692f737472756374726f6e2f636f64655f7175616c6974792e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765)](https://github.com/wundii/structron/actions/workflows/code_quality.yml)[![PHPStan](https://camo.githubusercontent.com/e15d364c7c0af383f9784d4af8419c1fcd87fbb5b44f0d48e32ce327be958008/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c25323031302d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](https://phpstan.org/)[![VERSION](https://camo.githubusercontent.com/b6201f94e495f911b93ee38f7ab9c360bd73df2494883e110c272abe681cbf94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77756e6469692f737472756374726f6e3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/b6201f94e495f911b93ee38f7ab9c360bd73df2494883e110c272abe681cbf94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77756e6469692f737472756374726f6e3f7374796c653d666f722d7468652d6261646765)[![PHP](https://camo.githubusercontent.com/f78ba692545b0b0e1c32e6201e2e575507deb158dca76ba493fb7e33c2bef0a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77756e6469692f737472756374726f6e3f7374796c653d666f722d7468652d6261646765)](https://www.php.net/)[![Rector](https://camo.githubusercontent.com/bd6dd5b52a4347de5aa8bd284d980f474d87da595a4c90d3300b9645c2bcbf7f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526563746f722d382e322d626c75652e7376673f7374796c653d666f722d7468652d6261646765)](https://getrector.com)[![ECS](https://camo.githubusercontent.com/0f7ade62b75eb86dd60ed170f954932994f60c2b4678e94ad0c7a892d31d77b8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4543532d636865636b2d626c75652e7376673f7374796c653d666f722d7468652d6261646765)](https://tomasvotruba.com/blog/zen-config-in-ecs)[![PHPUnit](https://camo.githubusercontent.com/729283066c222d92f175922debb3efc12d423e06e2880f6cc08e9c8601764ff3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2d556e69742d636865636b2d626c75652e7376673f7374796c653d666f722d7468652d6261646765)](https://phpunit.org)[![codecov](https://camo.githubusercontent.com/4a9b22a5b2d4412588c77b5332f7e2c07a2ddf1a582159c56ec415a7298189ae/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f77756e6469692f737472756374726f6e2f6d61696e3f746f6b656e3d3250334243594b38384c267374796c653d666f722d7468652d6261646765)](https://codecov.io/github/wundii/structron)[![Downloads](https://camo.githubusercontent.com/f48e545c4080681c2cf655aff107e2b72c27e8e249c5eaf26bf5fe09785ea732/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77756e6469692f737472756374726f6e2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/wundii/structron)

A PHP library for generating human-readable documentation from structured data objects like DTOs, Entities, and Value Objects. This is based on the data mapper.

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

[](#installation)

Require the bundle and its dependencies with composer:

> composer require wundii/afterbuy-sdk

Creating the config file

> vendor/bin/structron init

Configuration
-------------

[](#configuration)

```
use Wundii\Structron\Config\StructronConfig;

return static function (StructronConfig $structronConfig): void {
    $structronConfig->docPath('your/docs/folder');
    $structronConfig->paths(['your/dto/folder', 'your/other/dto/folder']);

    /**
     * Optional: The input in this example is the default value
     */
    $structronConfig->phpExtension('php');
    $structronConfig->skip([]);
    $structronConfig->setIndentFileIteration();

    /**
     * Other possibilities for automated use
     */
    $structronConfig->disableProcessBar();
    $structronConfig->disableExitCode();
};
```

Usage
-----

[](#usage)

> vendor/bin/structron

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance85

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.5% 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 ~36 days

Recently: every ~54 days

Total

7

Last Release

108d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55cca8c4c5dafd979e8cfc4fc14747edc8e7abeda94074b5fa927b7687af55f9?d=identicon)[wundii](/maintainers/wundii)

---

Top Contributors

[![wundii](https://avatars.githubusercontent.com/u/58734845?v=4)](https://github.com/wundii "wundii (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")

---

Tags

documentationdtomarkdownphpphpphpdocdocumentationreflectionValue Objectcode generatormarkdownentitydtodoc generatordoc tool

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wundii-structron/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[evert/phpdoc-md

PHP documentation generator, with markdown output

169170.9k92](/packages/evert-phpdoc-md)[nelson6e65/phpdoc-vuepress

Template for generating your PHP API documentation in a pretty VuePress format.

224.5k2](/packages/nelson6e65-phpdoc-vuepress)

PHPackages © 2026

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