PHPackages                             xiaotianhu/markdoc - 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. xiaotianhu/markdoc

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

xiaotianhu/markdoc
==================

5132JavaScript

Since Sep 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xiaotianhu/laravel-markdoc)[ Packagist](https://packagist.org/packages/xiaotianhu/markdoc)[ RSS](/packages/xiaotianhu-markdoc/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-markdoc
===============

[](#laravel-markdoc)

An markdown based document viewer for laravel , out-of-the-box

Screenshot
==========

[](#screenshot)

[![laravel-markdoc](https://raw.githubusercontent.com/xiaotianhu/laravel-markdoc/master/Screenshot.png)](https://raw.githubusercontent.com/xiaotianhu/laravel-markdoc/master/Screenshot.png)

Installation
============

[](#installation)

> This package requires PHP 7+ and Laravel 5.5+

```
composer require xiaotianhu/markdoc

```

After that, publish the config files with:

```
php artisan markdoc:install

```

And we're done.

For older version of laravel,you may add the service provider in the file config/app.php:

```
Xiaotianhu\Markdoc\ServiceProvider::class

```

Usage
=====

[](#usage)

After the install,you'll find a doc folder in your project's base path.

Just put all the markdown files into the folder,and access with:

>

By default,you can only access the document when the laravel's debug mode is on;

You can modify this in the config file 'config/markdoc.php'.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf60de8e7eae0a27e8daa0d6e7918a7deda22b366d571b3848d21959074bc304?d=identicon)[xiaotianhu](/maintainers/xiaotianhu)

---

Top Contributors

[![xiaotianhu](https://avatars.githubusercontent.com/u/2409906?v=4)](https://github.com/xiaotianhu "xiaotianhu (1 commits)")

### Embed Badge

![Health badge](/badges/xiaotianhu-markdoc/health.svg)

```
[![Health](https://phpackages.com/badges/xiaotianhu-markdoc/health.svg)](https://phpackages.com/packages/xiaotianhu-markdoc)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M344](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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