PHPackages                             fusionspim/php-markdown-toc - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. fusionspim/php-markdown-toc

Abandoned → [league/commonmark](/?search=league%2Fcommonmark)ArchivedLibrary[PDF &amp; Document Generation](/categories/documents)

fusionspim/php-markdown-toc
===========================

Generates a table of contents for a Markdown document, based on the headings within

3.2.0(5y ago)11.3k2MITPHPPHP &gt;=7.4

Since Mar 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fusionspim/php-markdown-toc)[ Packagist](https://packagist.org/packages/fusionspim/php-markdown-toc)[ RSS](/packages/fusionspim-php-markdown-toc/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (4)Versions (11)Used By (0)

This repository is archived. It's retained only for reference, but will be deleted at some point. We recommend using [CommonMark for PHP](https://commonmark.thephpleague.com/) with the [Table of Contents Extension](https://commonmark.thephpleague.com/1.5/extensions/table-of-contents/).

---

Markdown TOC
============

[](#markdown-toc)

Generates a table of contents for a Markdown document, based on the headings within.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73% 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 ~104 days

Recently: every ~73 days

Total

9

Last Release

2152d ago

Major Versions

1.1 → 2.0.02019-06-04

2.0.2 → 3.0.02020-03-24

PHP version history (4 changes)1.0.0PHP ^7.0

2.0.0PHP ^7.2

3.0.0PHP ^7.3

3.2.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/f78af2dd4348815b22f074885277e2be60bc70f8d2505a466aeaedb972b21132?d=identicon)[weshooper](/maintainers/weshooper)

![](https://www.gravatar.com/avatar/cac532f14dce84f0bb5cfadf79109d9fa9428b6b78af15c1f05d3476bbaf6241?d=identicon)[ziadoz](/maintainers/ziadoz)

![](https://www.gravatar.com/avatar/d071e60022bd5137d78c3940a7bbe4920b58db384c149ad519ad0983ef4774b1?d=identicon)[maxakropolis](/maintainers/maxakropolis)

---

Top Contributors

[![weshooper](https://avatars.githubusercontent.com/u/2248206?v=4)](https://github.com/weshooper "weshooper (27 commits)")[![ziadoz](https://avatars.githubusercontent.com/u/645637?v=4)](https://github.com/ziadoz "ziadoz (5 commits)")[![maxakropolis](https://avatars.githubusercontent.com/u/10739767?v=4)](https://github.com/maxakropolis "maxakropolis (3 commits)")[![liamkeily](https://avatars.githubusercontent.com/u/2040842?v=4)](https://github.com/liamkeily "liamkeily (2 commits)")

---

Tags

htmlmarkdowndocumentTOC

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fusionspim-php-markdown-toc/health.svg)

```
[![Health](https://phpackages.com/badges/fusionspim-php-markdown-toc/health.svg)](https://phpackages.com/packages/fusionspim-php-markdown-toc)
```

###  Alternatives

[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3685.2M19](/packages/gotenberg-gotenberg-php)[faisalman/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

582599.4k1](/packages/faisalman-simple-excel-php)[netcarver/textile

Textile markup language parser

2311.5M16](/packages/netcarver-textile)[daylerees/kurenai

Multi document parser with metadata support.

15211.7k](/packages/daylerees-kurenai)[stevebauman/autodoc-facades

Auto-generate PHP doc annotations for Laravel facades

98186.6k9](/packages/stevebauman-autodoc-facades)[scannerjs/scanner.js

ScannerJS: JavaScript web scan JPG PDF images from TWAIN WIA scanners in browser (Chrome, Edge, Firefox or IE)

5914.3k](/packages/scannerjs-scannerjs)

PHPackages © 2026

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