PHPackages                             diversen/markdown-split-by-header - 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. diversen/markdown-split-by-header

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

diversen/markdown-split-by-header
=================================

A php class that splits a markdown text into a multi-dimensional array based on header level

v1.0.3(4y ago)66.3k↓100%MITPHP

Since Sep 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/diversen/markdown-split-by-header)[ Packagist](https://packagist.org/packages/diversen/markdown-split-by-header)[ Docs](http://github.com/diversen/http-send-file)[ RSS](/packages/diversen-markdown-split-by-header/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

markdown-split-by-header
========================

[](#markdown-split-by-header)

A php class that splits a markdown text into a multi-dimensional array based on header level

Install
-------

[](#install)

```
composer require diversen/markdown-split-by-header

```

Example and documentation
-------------------------

[](#example-and-documentation)

See [test.php](test.php)

Copyright
---------

[](#copyright)

@MIT Dennis Iversen

###  Health Score

34

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~568 days

Total

4

Last Release

1784d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ed91d104f16d10414811ecdafbd5c80a660e658d80ccaadf84f512cfb50629?d=identicon)[diversen](/maintainers/diversen)

---

Top Contributors

[![diversen](https://avatars.githubusercontent.com/u/142675?v=4)](https://github.com/diversen "diversen (11 commits)")[![maglnet](https://avatars.githubusercontent.com/u/4430279?v=4)](https://github.com/maglnet "maglnet (1 commits)")

---

Tags

markdown-phpmarkdown-splitmarkdown-split-headermarkdownsplitter

### Embed Badge

![Health badge](/badges/diversen-markdown-split-by-header/health.svg)

```
[![Health](https://phpackages.com/badges/diversen-markdown-split-by-header/health.svg)](https://phpackages.com/packages/diversen-markdown-split-by-header)
```

###  Alternatives

[erusev/parsedown

Parser for Markdown.

15.0k150.2M639](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k393.7M569](/packages/league-commonmark)[michelf/php-markdown

PHP Markdown

3.5k51.8M305](/packages/michelf-php-markdown)[league/html-to-markdown

An HTML-to-markdown conversion helper for PHP

1.9k27.5M169](/packages/league-html-to-markdown)[cebe/markdown

A super fast, highly extensible markdown parser for PHP

1.0k32.0M124](/packages/cebe-markdown)[erusev/parsedown-extra

An extension of Parsedown that adds support for Markdown Extra.

84314.6M175](/packages/erusev-parsedown-extra)

PHPackages © 2026

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