PHPackages                             tanuck/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. tanuck/cakephp-markdown

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

tanuck/cakephp-markdown
=======================

Cakephp Markdown plugin for CakePHP 3.

v0.1.0(11y ago)730.5k↓33.1%5[2 PRs](https://github.com/tanuck/cakephp-markdown/pulls)MITPHPPHP &gt;=5.4

Since Feb 20Pushed 3y ago5 watchersCompare

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

READMEChangelog (1)Dependencies (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 3 plugin to parse markdown syntax in your view templates.

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

[](#installation)

Include the following in your `composer.json` file:

```
    "require": {
        "tanuck/cakephp-markdown": "dev-master"
    }

```

and then run:

`composer update`

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

[](#configuration--usage)

To your `config/bootstrap.php` file add `Plugin::load('Tanuck/Markdown');`

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

```
    class FooController extends AppController
    {
        public $helpers = ['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 $helpers = [
            '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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community12

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

Unknown

Total

1

Last Release

4105d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5fed91f27a3514f75b7eac9fffc5aa32895f040b193364cc8d9f7432b4ed3ef?d=identicon)[tanuck](/maintainers/tanuck)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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