PHPackages                             xianyunyh/parse-hexo - 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. xianyunyh/parse-hexo

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

xianyunyh/parse-hexo
====================

1.0(8y ago)04PHPPHP &gt;=5.6.0

Since Nov 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/xianyunyh/parse-hexo)[ Packagist](https://packagist.org/packages/xianyunyh/parse-hexo)[ RSS](/packages/xianyunyh-parse-hexo/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

解析hexo的post的markdown文件。
-----------------------

[](#解析hexo的post的markdown文件)

依赖**erusev/parsedown** 和 **yaml**

```
composer install
```

测试实例

```
$file = "./crontab.md";
$parse = new \XianYun\ParseHexo($file);
$header = $parse->getHeader();//markdown header中yaml数据
$content = $parse->getContent();//正文内容
$Parsedown = new \Parsedown();// 利用parsemarkdown 解析正文
$content = $Parsedown->text($content);
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3145d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3776329?v=4)[tianlei](/maintainers/tianlei)[@tianlei](https://github.com/tianlei)

### Embed Badge

![Health badge](/badges/xianyunyh-parse-hexo/health.svg)

```
[![Health](https://phpackages.com/badges/xianyunyh-parse-hexo/health.svg)](https://phpackages.com/packages/xianyunyh-parse-hexo)
```

###  Alternatives

[erusev/parsedown-extra

An extension of Parsedown that adds support for Markdown Extra.

84315.1M208](/packages/erusev-parsedown-extra)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[couscous/couscous

Documentation website generator

83969.4k24](/packages/couscous-couscous)[benjaminhoegh/parsedown-extended

An extension for Parsedown.

5125.2k1](/packages/benjaminhoegh-parsedown-extended)[benjaminhoegh/parsedown-toc

Table of Contents Extension for Parsedown.

2135.9k11](/packages/benjaminhoegh-parsedown-toc)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5934.5k](/packages/tovic-parsedown-extra-plugin)

PHPackages © 2026

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