PHPackages                             jhancock/yii2-markdown-docs - 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. jhancock/yii2-markdown-docs

ActiveYii2-extension

jhancock/yii2-markdown-docs
===========================

Yii2 markdown documentation module

0112PHP

Since Aug 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jasonhancock/yii2-markdown-docs)[ Packagist](https://packagist.org/packages/jhancock/yii2-markdown-docs)[ RSS](/packages/jhancock-yii2-markdown-docs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-markdown-docs
==================

[](#yii2-markdown-docs)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist jhancock/yii2-markdown-docs "*"

```

or add

```
"jhancock/yii2-markdown-docs": "*"

```

to the require section of your `composer.json` file.

Configuration
-------------

[](#configuration)

Enable the module in your confguration:

```
'modules' => [
    'docs' => [
        'class' => 'jhancock\markdowndocs\Module',
        // Optional, defaults to cebe\markdown\GithubMarkdown
        'parserClass' => 'cebe\markdown\GithubMarkdown'
    ],
],

```

Add a rule to your url manager component:

```
'urlManager' => [
    'enablePrettyUrl' => true,
    'showScriptName'  => false,
    'rules' => [
        ...
        [
            'pattern'      => 'docs',
            'route'        => 'docs/default/view',
            'encodeParams' => false
        ],
        ...
    ],
],

```

Your documentation would then be accessible under your application's `/docs` URL.

Usage
-----

[](#usage)

This module assumes your documentation lives under the `@app/docs` alias.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://avatars.githubusercontent.com/u/27539?v=4)[Jon Hancock](/maintainers/jhancock)[@jhancock](https://github.com/jhancock)

---

Top Contributors

[![jasonhancock](https://avatars.githubusercontent.com/u/1113245?v=4)](https://github.com/jasonhancock "jasonhancock (3 commits)")

### Embed Badge

![Health badge](/badges/jhancock-yii2-markdown-docs/health.svg)

```
[![Health](https://phpackages.com/badges/jhancock-yii2-markdown-docs/health.svg)](https://phpackages.com/packages/jhancock-yii2-markdown-docs)
```

PHPackages © 2026

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