PHPackages                             lablog/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. [Templating &amp; Views](/categories/templating)
4. /
5. lablog/markdown

ActiveLibrary[Templating &amp; Views](/categories/templating)

lablog/markdown
===============

Markdown processer filter for twig templating engine. Also includes laravel service provider to link to Lablog.

1.0.0(12y ago)1561[1 issues](https://github.com/LaBlog/Markdown/issues)PHPPHP &gt;=5.3.0

Since Mar 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/LaBlog/Markdown)[ Packagist](https://packagist.org/packages/lablog/markdown)[ RSS](/packages/lablog-markdown/feed)WikiDiscussions master Synced 2mo ago

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

**NO LONGER MAINTAINED!** Try the following instead:

Markdown Twig Filter for LaBlog
===============================

[](#markdown-twig-filter-for-lablog)

A simple plugin for LaBLog (Also works stand-alone with the twig template engine.).

Navigation
----------

[](#navigation)

- [Installation](#installation)
- [Laravel &amp; LaBlog Use](#laravel--lablog-usage)
- [Stand-Alone Twig Use](#using-with-stand-alone-twig)
- [Template Filter Use](#general-usage-in-templates)

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

[](#installation)

Installation is done via composer packages.

To install, simply add the following to your `composer.json` file.

```
...
"require": {
    ...
    "lablog/markdown": "1.0.*"
    ...
}
...
```

Laravel &amp; LaBlog Usage
--------------------------

[](#laravel--lablog-usage)

To use the markdown processor with Laravel 4 and LaBlog, just add the service provider to your `app/config/app.php` providers list.

*Note: The provider must be added *after* the Laravel 4 Twig Bridge provider.**Note2: If you have LaBlog up and running, you will have already added the Twig Bridge provider.*

```
...
    'Lablog\Markdown\MarkdownServiceProvider'
...
```

Using with Stand-alone Twig
---------------------------

[](#using-with-stand-alone-twig)

To use the markdown processor with a stand-along, non-laravel bridged twig, just add the following to your twig extensions.

```
'Lablog\Markdown\Twig\MarkdownLoader'
```

*Note: This has *not* been tested!*

General Usage in Templates
--------------------------

[](#general-usage-in-templates)

To use the markdown filter in a template, simply `markdown` as a filter to the string you want to process.

```

    {{ var_containing_markdown | markdown }}

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

4451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40961dbdd7f3ae5a69c3964bed644239689c6ae64b1355b9b5d504233f271bc9?d=identicon)[jralph](/maintainers/jralph)

---

Top Contributors

[![jralph](https://avatars.githubusercontent.com/u/3825404?v=4)](https://github.com/jralph "jralph (3 commits)")[![dequis](https://avatars.githubusercontent.com/u/94108?v=4)](https://github.com/dequis "dequis (1 commits)")

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[twig/intl-extra

A Twig extension for Intl

36663.2M221](/packages/twig-intl-extra)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[twig/html-extra

A Twig extension for HTML

777.6M41](/packages/twig-html-extra)

PHPackages © 2026

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