PHPackages                             mecha-cms/x.t-o-c - 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. mecha-cms/x.t-o-c

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mecha-cms/x.t-o-c
=================

Generates table of contents automatically.

v3.0.1(2y ago)015GPL-3.0-or-laterPHP

Since Jan 11Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/mecha-cms/x.t-o-c)[ Packagist](https://packagist.org/packages/mecha-cms/x.t-o-c)[ RSS](/packages/mecha-cms-xt-o-c/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (6)DependenciesVersions (3)Used By (0)

Table of Contents Extension for [Mecha](https://github.com/mecha-cms/mecha)
===========================================================================

[](#table-of-contents-extension-for-mecha)

[![Code Size](https://camo.githubusercontent.com/3d76b3c9f71f09a286df001fa2683702b55a179fb7a8566bdac7164f192577f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e742d6f2d633f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/3d76b3c9f71f09a286df001fa2683702b55a179fb7a8566bdac7164f192577f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e742d6f2d633f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)

[![Table of Contents](index.png?v=2023-02-18)](index.png?v=2023-02-18)

This extension displays a table of contents on top of the page content automatically. It detects the presence of heading elements in the page content to form the table of contents. If you just need the jump link feature without a table of contents, you might be more interested in the [Anchor](https://github.com/mecha-cms/x.anchor) extension.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance52

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Every ~146 days

Total

2

Last Release

802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8f3805cca9aeaeb2e2d6a3bc796f98cd9fa9e36d0a064559ffc716c8ce73f0b?d=identicon)[taufik-nurrohman](/maintainers/taufik-nurrohman)

---

Top Contributors

[![taufik-nurrohman](https://avatars.githubusercontent.com/u/1669261?v=4)](https://github.com/taufik-nurrohman "taufik-nurrohman (94 commits)")

---

Tags

anchorcontentcontentsextensionlistt-o-ctabletable-of-contenttable-of-contentstoctreewidget

### Embed Badge

![Health badge](/badges/mecha-cms-xt-o-c/health.svg)

```
[![Health](https://phpackages.com/badges/mecha-cms-xt-o-c/health.svg)](https://phpackages.com/packages/mecha-cms-xt-o-c)
```

PHPackages © 2026

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