PHPackages                             rkeet/zf-form-markdown - 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. rkeet/zf-form-markdown

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

rkeet/zf-form-markdown
======================

Provides Form Element 'Markdown', to be used within Zend Framework 3 with Zend Form.

0.1.4(6y ago)06MITPHPPHP ^7.2 || ^7.3

Since Apr 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rkeet/zf-form-markdown)[ Packagist](https://packagist.org/packages/rkeet/zf-form-markdown)[ Docs](https://keet.me/)[ RSS](/packages/rkeet-zf-form-markdown/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

ZF Form Element Markdown
========================

[](#zf-form-element-markdown)

Provides the ability to use `markdown` as a type of input element.

Setup
-----

[](#setup)

### Require module

[](#require-module)

To install the latest release, using [Composer](https://getcomposer.org), run:

```
composer require rkeet/zf-form-markdown

```

### Enable modules

[](#enable-modules)

To enable this module, enable both this module and AssetManager. In `modules.config.php`add the following:

```
'AssetManager',
'Keet\Markdown',

```

Usage in Form / Fieldset
------------------------

[](#usage-in-form--fieldset)

Element provides an HTML `` element and paired `` element to render a preview of whatever is entered in text area.

```
use Keet\Markdown\Form\Element\Markdown;

...

$this->add(
    [
        'name'       => 'body',
        'type'       => Markdown::class,
        'options'    => [
            'label' => 'Body',
        ],
        'attributes' => [
            'rows'  => 4,
        ],
    ]
);

```

### Module requirements:

[](#module-requirements)

- [Zend Form](https://github.com/zendframework/zend-form) to extend
- [Parsedown](https://github.com/erusev/parsedown) for PHP side parsing to HTML
- [ShowdownJS](https://github.com/showdownjs/showdown) for client side parsing to HTML for preview
- [AssetManager](https://github.com/RWOverdijk/AssetManager) to inject JS with ViewHelper

### Features

[](#features)

- Provides Service (`MarkdownService`) for handling markdown conversion server-side
- Provides a ZF Form Element (`Markdown`) for Form input
    - Provides Showdown to client when using `Markdown` Form Element

### TODO's

[](#todos)

- Create better preview - possibly:
    - option: inject some overridable default styling
    - option: side-by-side preview instead of above/below
    - option: minimum (overridable) styling to always have a visible preview container
- Figure out incompatibilities between Parsedown and ShowdownJS

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~87 days

Total

5

Last Release

2244d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/374f905cbf90dd014abeee57b1d7ebda40f3bd9c4fca88091607e75b5033e6ea?d=identicon)[rkeet](/maintainers/rkeet)

---

Top Contributors

[![rkeet](https://avatars.githubusercontent.com/u/3327864?v=4)](https://github.com/rkeet "rkeet (5 commits)")

---

Tags

elementformmarkdownmarkdown-convertermarkdown-editormarkdown-to-htmlzend-formzend-frameworkzend-framework3markdownmoduleformparsedownzf3elementZend Framework 3

### Embed Badge

![Health badge](/badges/rkeet-zf-form-markdown/health.svg)

```
[![Health](https://phpackages.com/badges/rkeet-zf-form-markdown/health.svg)](https://phpackages.com/packages/rkeet-zf-form-markdown)
```

###  Alternatives

[erusev/parsedown-extra

An extension of Parsedown that adds support for Markdown Extra.

84314.8M192](/packages/erusev-parsedown-extra)[benjaminhoegh/parsedown-extended

An extension for Parsedown.

5022.6k1](/packages/benjaminhoegh-parsedown-extended)[kartik-v/yii2-markdown

Advanced Markdown editing and conversion utilities for Yii Framework 2.0

88265.8k6](/packages/kartik-v-yii2-markdown)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5933.7k](/packages/tovic-parsedown-extra-plugin)[taufik-nurrohman/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5932.3k](/packages/taufik-nurrohman-parsedown-extra-plugin)[maglnet/magl-markdown

Provides a ZF2 View Helper to render markdown syntax. It uses third-party libraries for the rendering and you can switch between different renderers.

22178.2k4](/packages/maglnet-magl-markdown)

PHPackages © 2026

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