PHPackages                             maxxscho/laravel-markdown-plus - 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. maxxscho/laravel-markdown-plus

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

maxxscho/laravel-markdown-plus
==============================

A simple Laravel Markdown Parser with an optional meta section in the .md file

1.0(11y ago)421726MITPHPPHP &gt;=5.4.0

Since Jul 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/maxxscho/laravel-markdown-plus)[ Packagist](https://packagist.org/packages/maxxscho/laravel-markdown-plus)[ RSS](/packages/maxxscho-laravel-markdown-plus/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (4)Used By (0)

**NOT MAINTAINED ANYMORE!!**

Laravel Markdown-Plus
=====================

[](#laravel-markdown-plus)

[![Build Status](https://camo.githubusercontent.com/6178b6091ac6489b4f464b05b34d8a350df19b3b3898bab2c4b3c875b11473e2/68747470733a2f2f7472617669732d63692e6f72672f6d6178787363686f2f6c61726176656c2d6d61726b646f776e2d706c75732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/maxxscho/laravel-markdown-plus)

A simple [Laravel 4](http://www.laravel.com) parser for markdown files with an optional meta-data section.

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

[](#installation)

Laravel Markdown-Plus can be installed via [composer](http://getcomposer.org) by requiring the `maxxscho/laravel-markdown-plus` package in your project's `composer.json`.

```
{
    "require": {
        "maxxscho/laravel-markdown-plus": "~0"
    }
}
```

Next add the service provider and the alias to `app/config/app`.

```
'providers' => [
    // ...
    'Maxxscho\LaravelMarkdownPlus\LaravelMarkdownPlusServiceProvider',
],

'aliases' => [
    // ..
    'MarkdownPlus' => 'Maxxscho\LaravelMarkdownPlus\Facade\LaravelMarkdownPlusFacade',
],
```

Usage
-----

[](#usage)

#### Markdown file example

[](#markdown-file-example)

The meta section should be in [YAML](http://www.yaml.org/) style, seperated by a custom splitter, which can be set in the config as a regular expression, default 3 or more dashes in an own line. Example:

```
title: This is the title
subtitle: This is the subtitle
date: 5. September 2013
tags: [code, laravel]
---
# Content goes here

Lorem Ipsum ...
```

#### Usage in Laravel

[](#usage-in-laravel)

```
$file = File::get('test.md');

$document = MarkdownPlus::make($file);
$content = $document->getContent();
$title = $document->title(); // magic method

return View::make('your-view', compact('title', 'content'));
```

The meta data will be parsed with [Symfony's Yaml Parser](https://github.com/symfony/Yaml). After parsing the meta is an multidimensional array.
! Dates in the format `YYYY-MM-DD` will be parsed into a timestamp.

#### Available methods

[](#available-methods)

`$document->getContent()` - returns the parsed Markdown (HTML-Content)

`$document->getRawContent()` - returns the raw content (pure Markdown)

`$document->getMeta()` - returns the whole meta data as an multidimensional array

`$document->title()` - this is a magic method. The name of the method returns its equivalent meta. For example `$document->cool-meta()` return the value of `cool-meta: Cool Value`

Configuration
-------------

[](#configuration)

Laravel-Markdown-Plus comes with some basic configuration.
Publish the configuration to customize the options:

```
php artisan config:publish maxxscho/laravel-markdown-plus

```

You'll find the config file in `app/config/packages/maxxscho/laravel-markdown-plus`

#### Available Config-Options

[](#available-config-options)

`'use_meta' => true,` - whether you wanna use meta data or not

`'section_splitter' => '/\s+-{3,}\s+/',` - the seciton splitter

`'use_extra' => true,` - do you wanna parse markdown with [additional features](https://michelf.ca/projects/php-markdown/extra/)

`'markdown_parser_options'` - options for the markdown parser itself. [More infos](https://michelf.ca/projects/php-markdown/configuration/)

Licencse
--------

[](#licencse)

This is free software distributed under the terms of the MIT license.

Additional information
----------------------

[](#additional-information)

Inspired by an based on [Dayle Rees Kurenai](https://github.com/daylerees/kurenai).

This package uses:

- [Symfony YAML](https://github.com/symfony/Yaml)
- [Michelf PHP Markdown](https://michelf.ca/projects/php-markdown)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~3 days

Total

3

Last Release

4364d ago

Major Versions

0.2 → 1.02014-07-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/543690?v=4)[Markus Schober](/maintainers/maxxscho)[@maxxscho](https://github.com/maxxscho)

---

Top Contributors

[![jeroennoten](https://avatars.githubusercontent.com/u/4370753?v=4)](https://github.com/jeroennoten "jeroennoten (2 commits)")[![maxxscho](https://avatars.githubusercontent.com/u/543690?v=4)](https://github.com/maxxscho "maxxscho (2 commits)")

---

Tags

laravelmarkdown

### Embed Badge

![Health badge](/badges/maxxscho-laravel-markdown-plus/health.svg)

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k453.6k30](/packages/tightenco-jigsaw)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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