caseyamcl/toc
caseyamcl/toc is a PHP library that generates a nested table of contents from HTML headings. It parses h1–h6 elements, adds anchor IDs, and outputs a customizable, hierarchical TOC list for documentation and long-form pages.
Table of Contents Generator for HTML Markup
How can I help you explore Laravel packages today?