caseyamcl/toc (packagist): Simple Table-of-Contents Generator for PHP.  Generates TOCs based off H1...H6 tags
Keywords: TOC|table of contents