PHPackages                             punarinta/doru-doc - 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. punarinta/doru-doc

ActiveLibrary

punarinta/doru-doc
==================

Automatic documentor for APIs

060HTML

Since Apr 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/punarinta/doru-doc)[ Packagist](https://packagist.org/packages/punarinta/doru-doc)[ RSS](/packages/punarinta-doru-doc/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doru Documentor
===============

[](#doru-documentor)

An automatic documentor for APIs.

Markup
------

[](#markup)

Please see 'example' directory for better understanding.

Data types:

- "int" — creates an input limited to integers
- "date" — creates a date picker
- "bool" — creates a drop down box with "true" and "false"
- "enum" — creates a date down box with alternatives
- anything else — simply generates an text input field

Format

```
* @doc-var (int=42) foo!  - An obligatory integer named "foo" with default of 42.

* @doc-var (string) bar   - Just a string named "bar".

```

Configuration file
------------------

[](#configuration-file)

Example:

```
{
  "input":
  {
    "dirs":
    [
      "../../App/Controller"
    ]
  },
  "output":
  {
    "dir": "../../public/docs",
    "filename": "index.html",
    "rootUrl":  "/api"
  },
  "exclude":
  [
    "Generic.php",
    "Upload.php"
  ],
  "templates":
  {
    "dir": "templates",
    "overwrite": ["header", "footer", "layout"]
  }
}

```

input.dirs — an array of relative paths to scan for files

output.dir — a relative path to the output directory output.filename — name of the resulting HTML file output.rootUrl — a root URL to use in in-page API calls

exclude — a list of files to exclude while scanning

templates.dir — a relative path to the directory with templates replacements templates.overwrite — a list of templates to overwrite

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community5

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

---

Top Contributors

[![punarinta](https://avatars.githubusercontent.com/u/2189981?v=4)](https://github.com/punarinta "punarinta (31 commits)")

### Embed Badge

![Health badge](/badges/punarinta-doru-doc/health.svg)

```
[![Health](https://phpackages.com/badges/punarinta-doru-doc/health.svg)](https://phpackages.com/packages/punarinta-doru-doc)
```

PHPackages © 2026

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