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

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

kitzberger/cakephp-markdown
===========================

Cakephp Markdown plugin for CakePHP 4.x

4.0.0(3y ago)045MITPHPPHP &gt;=7.4

Since Apr 20Pushed 3y agoCompare

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

READMEChangelogDependencies (5)Versions (2)Used By (0)

CakePHP Markdown
================

[](#cakephp-markdown)

[![Build Status](https://camo.githubusercontent.com/31eac4231f3374f9952fd06820a23702577051080e5cbad57d92bb77da0f8bf7/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74616e75636b2f63616b657068702d6d61726b646f776e2e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/tanuck/cakephp-markdown)[![License](https://camo.githubusercontent.com/66cc400af731c713945efab3b06e49e8be60bd7fb36a63424937583400d244f4/68747470733a2f2f706f7365722e707567782e6f72672f74616e75636b2f63616b657068702d6d61726b646f776e2f6c6963656e73652e737667)](https://packagist.org/packages/tanuck/cakephp-markdown)[![Total Downloads](https://camo.githubusercontent.com/cbe47e6da5c6e41b9ca7d87c28bf37517abe49c87e1d78774517fb9c8d8eb339/68747470733a2f2f706f7365722e707567782e6f72672f74616e75636b2f63616b657068702d6d61726b646f776e2f646f776e6c6f6164732e737667)](https://packagist.org/packages/tanuck/cakephp-markdown)

CakePHP 4 plugin to parse markdown syntax in your view templates.

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

[](#installation)

```
composer require kitzberger/cakephp-markdown:dev-main

```

Configuration &amp; Usage
-------------------------

[](#configuration--usage)

To your `config/bootstrap.php` file add `\App\Application::addPlugin('Tanuck/Markdown');`

Then, load the helper where needed. For example, in your controller:

```
class FooController extends AppController
{
    public function initialize(): void
    {
        parent::initialize();
        $this->viewBuilder()->setHelpers(['Tanuck/Markdown.Markdown']);
    }
}
```

then in your templates, you can output markdown syntax like so:

```
echo $this->Markdown->transform($myMarkdownSyntax);
```

### Advanced Configuration

[](#advanced-configuration)

Markdown is rendered using the [cebe/markdown](https://github.com/cebe/markdown) library which offers 3 different markdown parser classes.

- Markdown - using the original syntax definition:
- GithubMarkdown - GitHubs own markdown flavour:
- MarkdownExtra - an extension of the original by michelf:

By default, the plugin will use Markdown, the first of the 3 above. However you can specify which of the 3 you use wish to use when loading the helper. Like so:

```
class FooController extends AppController
{
    public function initialize(): void
    {
        parent::initialize();
        $this->viewBuilder()->setHelpers([
			'Tanuck/Markdown.Markdown' => [
				'parser' => 'GithubMarkdown',
			]
		]);
    }
}
```

License
-------

[](#license)

cakephp-markdown is offered under an [MIT license](http://www.opensource.org/licenses/mit-license.php).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1122d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a288a9c4de1e44927c96ee2f9cef86ad3fbf3648e47933c2b662f3c090f0265?d=identicon)[kitzberger](/maintainers/kitzberger)

---

Top Contributors

[![tanuck](https://avatars.githubusercontent.com/u/289004?v=4)](https://github.com/tanuck "tanuck (16 commits)")[![kitzberger](https://avatars.githubusercontent.com/u/1405149?v=4)](https://github.com/kitzberger "kitzberger (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kitzberger-cakephp-markdown/health.svg)

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

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[markstory/geshi

CakePHP plugin that integrates with Geshi Syntax highlighter.

252.3k1](/packages/markstory-geshi)

PHPackages © 2026

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