PHPackages                             rbnvrw/markdown-forms - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rbnvrw/markdown-forms

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

rbnvrw/markdown-forms
=====================

Class to add, validate and mail simple HTML/AJAX forms via Markdown

14213PHP

Since Dec 1Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

markdown-forms
==============

[](#markdown-forms)

Class to add, validate and mail simple HTML/AJAX forms via Markdown. This class extends [Michelf Markdown](https://github.com/michelf/php-markdown). Currently, basic `` and `` elements are supported.

Syntax
------

[](#syntax)

The basic syntax is as follows:

```
?{type}("label" "value" "placeholder" rows*cols){.class}

```

- **type**: the type of the `` element (required)
- **label**: the label, this also gets converted to an `id` for the `` element (optional)
- **value**: the value of the `` element (optional)
- **placeholder**: the placeholder for the `` element (optional)
- **rows\*cols**: number of rows and columns for the `` element, ignored for other types (required for ``)
- **class**: the class of the `` element (optional)

Example
-------

[](#example)

For example, to create a Twitter Bootstrap form:

```

  ?{text}("Name" "" "Name..."){.form-control}
  ?{email}("Email" "" "Email..."){.form-control}
  ?{text}("Subject" "" "Subject..."){.form-control}
  ?{textarea}("Message" "" "Message..." 3*20){.form-control}
  ?{submit}("" "Send!"){.form-control}

```

This gives the following output:

```

        Name

        Email

        Subject

        Message

```

The templates for `` and `` can be customised by passing them as arguments to the class.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/63907f3f3839f5627e51d80c68ab0cfb5b9963ad4174f4102c803cc19793f47a?d=identicon)[rbnvrw](/maintainers/rbnvrw)

### Embed Badge

![Health badge](/badges/rbnvrw-markdown-forms/health.svg)

```
[![Health](https://phpackages.com/badges/rbnvrw-markdown-forms/health.svg)](https://phpackages.com/packages/rbnvrw-markdown-forms)
```

###  Alternatives

[felixnagel/t3extblog

A record based blog extension for TYPO3 CMS. Easy to use and packed with features (incl. comments, subscriptions for comments and posts, Wordpress like subscription manager, reasonable email sending in FE and BE, GDPR ready, BE modules, Dashboard widgets, RSS, Sitemap, ...). Flexible and powerful!

3421.6k](/packages/felixnagel-t3extblog)

PHPackages © 2026

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