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(1y ago)015GPL-3.0-or-laterPHP

Since Jan 11Pushed 1y 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 1mo 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

24

—

LowBetter than 32% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

709d 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 (93 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)
```

###  Alternatives

[craue/config-bundle

Database-stored settings made available via a service for your Symfony project.

1771.0M4](/packages/craue-config-bundle)[icecave/repr

A library for generating string representations of any value, inspired by Python's reprlib library.

277.1M4](/packages/icecave-repr)[icetalker/filament-table-repeater

This is a package for Filament form component. Extends form Repeater, but shows in Table Layout.

136178.4k2](/packages/icetalker-filament-table-repeater)[renoki-co/clusteer

Clusteer is a Puppeteer wrapper written for PHP, with the super-power of parallelizing pages across multiple browser instances.

891.2k](/packages/renoki-co-clusteer)[digitalcloud/nova-resource-notes

A Laravel Nova Resource Note.

1723.2k](/packages/digitalcloud-nova-resource-notes)[innmind/object-graph

Extract object graph out of a root object

242.8k7](/packages/innmind-object-graph)

PHPackages © 2026

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