PHPackages                             ibraheem-ghazi/heading-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ibraheem-ghazi/heading-parser

AbandonedArchivedPackage[Parsing &amp; Serialization](/categories/parsing)

ibraheem-ghazi/heading-parser
=============================

php parser for html heading -starting from H2- as content table

1.0.0(8y ago)010MITPHPPHP &gt;=5.6.0

Since Feb 11Pushed 8y agoCompare

[ Source](https://github.com/ibraheem-ghazi/heading-parser)[ Packagist](https://packagist.org/packages/ibraheem-ghazi/heading-parser)[ RSS](/packages/ibraheem-ghazi-heading-parser/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

heading-parser
==============

[](#heading-parser)

php parser for html heading starting from H2 to H6 as content table

Install
=======

[](#install)

```
 $ composer require ibraheem-ghazi/heading-parser

```

Functions
=========

[](#functions)

**parse($code)**

```
paramters:
$code // the html code for topic or post

return array of HtmlHeading

```

**Example:**

```
