PHPackages                             ivanamat/cakephp3-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. ivanamat/cakephp3-markdown

ActiveCakephp-plugin[Parsing &amp; Serialization](/categories/parsing)

ivanamat/cakephp3-markdown
==========================

CakePHP 3.x - Markdown

1.1(8y ago)23.9k22MITPHPPHP &gt;=5.4.16

Since Aug 11Pushed 8y ago3 watchersCompare

[ Source](https://github.com/ivanamat/cakephp3-markdown)[ Packagist](https://packagist.org/packages/ivanamat/cakephp3-markdown)[ Docs](https://github.com/ivanamat/cakephp3-markdown)[ RSS](/packages/ivanamat-cakephp3-markdown/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (2)

CakePHP 3.x - Markdown
======================

[](#cakephp-3x---markdown)

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

[](#installation)

### Composer

[](#composer)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require ivanamat/cakephp3-markdown

```

### Git submodule

[](#git-submodule)

```
git submodule add git@github.com:ivanamat/cakephp3-markdown.git plugins/Markdown
git submodule init
git submodule update

```

Load
----

[](#load)

### Component

[](#component)

Load component in the `initialize()` function

```
    class MyController extends AppController {

        public function initialize() {
            parent::initialize();

            $this->loadComponent('Markdown.Markdown');
        }

    }
```

...or load the component in the `array of components`.

```
    class MyController extends AppController {

        public $components = [
            'Markdown' => [
                'className' => 'Markdown.Markdown'
            ]
        ];

    }
```

### Helper

[](#helper)

Load helper in the `initialize()` function from your `View`

```
    class AppView extends View {

        public function initialize() {
            parent::initialize();

            $this->loadHelper('Markdown.Markdown');
        }

    }
```

Easy to use
-----------

[](#easy-to-use)

### Controller

[](#controller)

Example: Read .md file on the controller, parse and pass html code to view.

```
    # MyController

    $md = file_get_contents('../README.md', true);
    $html = $this->Markdown->parse($md);
    $this->set(compact('html'));
```

### Helper

[](#helper-1)

Example: Parse Markdown data on the view.

```
    # MyController

    $md = '`This` string `is an example` of **Markdown** code';
    $this->set(compact('md'));
```

```

```

About CakePHP 3.x - Markdown
----------------------------

[](#about-cakephp-3x---markdown)

CakePHP 3.x - Markdown uses the [Parsedown](http://parsedown.org/) third-party library.
You can download [Parsedown](http://parsedown.org/) from official website: .

Author
------

[](#author)

Iván Amat on [GitHub](https://github.com/ivanamat)
[www.ivanamat.es](http://www.ivanamat.es/)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~556 days

Total

2

Last Release

3055d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52491748e5e20d24a31cbada12e13465ca2ce6c72f60d3908c422c3717fd1b58?d=identicon)[ivanamat](/maintainers/ivanamat)

---

Top Contributors

[![ivanamat](https://avatars.githubusercontent.com/u/14802779?v=4)](https://github.com/ivanamat "ivanamat (6 commits)")[![Xachman](https://avatars.githubusercontent.com/u/7697774?v=4)](https://github.com/Xachman "Xachman (2 commits)")[![terrabruder](https://avatars.githubusercontent.com/u/1594593?v=4)](https://github.com/terrabruder "terrabruder (1 commits)")

---

Tags

plugincakephpmarkdowncakephp3parsedowncake3

### Embed Badge

![Health badge](/badges/ivanamat-cakephp3-markdown/health.svg)

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

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M49](/packages/dereuromark-cakephp-tools)[cakephp/bake

Bake plugin for CakePHP

11212.0M192](/packages/cakephp-bake)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k13](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36199.6k2](/packages/dereuromark-cakephp-setup)[ivanamat/cakephp3-aclmanager

AclManager plugin for CakePHP 3.x

2715.6k2](/packages/ivanamat-cakephp3-aclmanager)[taufik-nurrohman/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5932.4k](/packages/taufik-nurrohman-parsedown-extra-plugin)

PHPackages © 2026

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