PHPackages                             webvpf/wn-simpledocs-plugin - 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. webvpf/wn-simpledocs-plugin

ActiveWinter-plugin

webvpf/wn-simpledocs-plugin
===========================

Simple Documentation - plugin for Winter CMS.

v1.0.8(2y ago)22351MITPHP

Since Jun 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/WebVPF/wn-simpledocs-plugin)[ Packagist](https://packagist.org/packages/webvpf/wn-simpledocs-plugin)[ Docs](https://github.com/WebVPF/wn-simpledocs-plugin)[ RSS](/packages/webvpf-wn-simpledocs-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

wn-simpledocs-plugin
====================

[](#wn-simpledocs-plugin)

Simple documentation for WinterCMS website

[![SimpleDocs](https://raw.githubusercontent.com/WebVPF/wn-simpledocs-plugin/main/assets/img/icons/favicon-96x96.png)](https://raw.githubusercontent.com/WebVPF/wn-simpledocs-plugin/main/assets/img/icons/favicon-96x96.png)

Screenshots: [\#2](https://github.com/WebVPF/wn-simpledocs-plugin/issues/2)

Installing Composer
-------------------

[](#installing-composer)

```
composer require webvpf/wn-simpledocs-plugin
```

Documentation creation
----------------------

[](#documentation-creation)

To display documentation on the site, create three files (layout template and two CMS pages).

Documentation layout template
-----------------------------

[](#documentation-layout-template)

Create a new layout for your documentation template. To do this, create a file `docs.htm` with the following content in the folder `themes/nameTheme/layouts`:

```
description = "Template for documentation"

[DocsMenu]
docPage = "docs/item"
==

        {{ this.page.title }}

        {% styles %}

        {% if item.css %}
            {{ item.css|raw }}
        {% endif %}

                    Documentation

            {% component 'DocsMenu' %}

            {% page %}

        {% scripts %}

        {% if item.js %}
            {{ item.js|raw }}
        {% endif %}

```

Documentation Pages
-------------------

[](#documentation-pages)

Now we need to create two CMS pages. One of them will display **Main documentation page**, the second - documentation records.

Both of these pages will be hidden. Hidden pages are only available to logged in users (authorized in the backend). To make your documentation available to everyone on the Internet, simply remove the `is_hidden = 1` parameter from the page settings.

### Documentation main page

[](#documentation-main-page)

Create a file `docs.htm` in the folder `themes/nameTheme/pages/docs`

```
title = "Documentation"
url = "/docs"
layout = "docs"
is_hidden = 1
==
This is the main documentation page.
```

### Documentation record output page

[](#documentation-record-output-page)

Create a file `item.htm` in the folder `themes/nameTheme/pages/docs`

```
title = "Documentation record page"
url = "/docs/:slug"
layout = "docs"
is_hidden = 1

[DocsItem]
slug = "{{ :slug }}"
stek = "wn"
theme = "default"
==
{% component 'DocsItem' %}
```

Styles for quick start connected in layout:

[![simpledocs_1](https://user-images.githubusercontent.com/61043464/147873706-3d33e189-34aa-48eb-97cd-6861462476a6.jpg)](https://user-images.githubusercontent.com/61043464/147873706-3d33e189-34aa-48eb-97cd-6861462476a6.jpg)

Code highlighting
-----------------

[](#code-highlighting)

Use Markdown syntax to insert example code into the text of your document.

Before the beginning of the code and at the end, insert lines of characters `````.

Add the identifier of the programming language or technology to which the code belongs to the first three quotes. For example, for HTML the identifier is `html`, for CSS - `css`, for JavaScript - `javascript` or a short synonym `js`.

Example of inserting PHP code:

```
```php
public function nameFunction()
{
    return 'Text';
}
```

```

### Language identifiers

[](#language-identifiers)

- [All identifiers](https://github.com/WebVPF/wn-simpledocs-plugin/wiki/highlight-%D0%92%D1%81%D0%B5-%D1%8F%D0%B7%D1%8B%D0%BA%D0%B8)
- [stack WinterCMS](https://github.com/WebVPF/wn-simpledocs-plugin/wiki/highlight-%D1%81%D1%82%D0%B5%D0%BA-WinterCMS)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~131 days

Recently: every ~152 days

Total

7

Last Release

992d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7445b1b017644e642f1a2ac78bb6eb7565baaae3aebebe03e60e9549846f64da?d=identicon)[webvpf](/maintainers/webvpf)

---

Top Contributors

[![WebVPF](https://avatars.githubusercontent.com/u/61043464?v=4)](https://github.com/WebVPF "WebVPF (36 commits)")

---

Tags

docsdocumentationdocumentation-sitewintercmswintercms-plugindocumentationdocswinter cmswintercmswintercms-plugindocumentation-site

### Embed Badge

![Health badge](/badges/webvpf-wn-simpledocs-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/webvpf-wn-simpledocs-plugin/health.svg)](https://phpackages.com/packages/webvpf-wn-simpledocs-plugin)
```

###  Alternatives

[binarytorch/larecipe

Generate gorgeous recipes for your Laravel applications using MarkDown

2.5k2.7M16](/packages/binarytorch-larecipe)[vyuldashev/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

4571.2M](/packages/vyuldashev-laravel-openapi)[daux/daux.io

Documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly

825191.0k1](/packages/daux-dauxio)[tartanlegrand/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

38178.7k2](/packages/tartanlegrand-laravel-openapi)[unionofrad/li3_docs

An API and wiki-like documentation generator.

1682.6k](/packages/unionofrad-li3-docs)[bookdown/themes

Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting

1135.7k1](/packages/bookdown-themes)

PHPackages © 2026

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