PHPackages                             kudashevs/laravel-parsedown - 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. kudashevs/laravel-parsedown

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

kudashevs/laravel-parsedown
===========================

A Laravel Parsedown wrapper that converts Mardown text into HTML.

v1.0.0(1y ago)110MITPHPPHP ^7.4|^8.0

Since Dec 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kudashevs/laravel-parsedown)[ Packagist](https://packagist.org/packages/kudashevs/laravel-parsedown)[ Docs](https://github.com/kudashevs/kudashevs/laravel-parsedown)[ RSS](/packages/kudashevs-laravel-parsedown/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Parsedown
=================

[](#laravel-parsedown)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9f222f7369e0adef7fa68a7a9cd33b451a96be88bece55678752ba6a4b9c8154/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b75646173686576732f6c61726176656c2d7061727365646f776e2e737667)](https://packagist.org/packages/kudashevs/laravel-parsedown)[![Run Tests](https://github.com/kudashevs/laravel-parsedown/actions/workflows/run-tests.yml/badge.svg)](https://github.com/kudashevs/laravel-parsedown/actions/workflows/run-tests.yml)[![License MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)

This is a **Laravel Parsedown** wrapper. If you want to know more about Parsedown, check out the [official repo](https://github.com/erusev/parsedown).

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

[](#installation)

You can install the package via composer:

```
composer require kudashevs/laravel-parsedown
```

Features
--------

[](#features)

- Configuration File
- Blade Directive
- Helper Function

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

[](#configuration)

If you don't use auto-discovery, just add a ParsedownServiceProvider to the `config/app.php`

```
'providers' => [
    Kudashevs\LaravelParsedown\Providers\ParsedownServiceProvider::class,
],
```

This package uses the `ParsedownServiceProvider` service provider to create a singleton with a **Parsedown** instance. This instance is stored in the container under the `parsedown` name. To change the behavior of this instance, use the following options:

NameDescriptionDefault`enable_extra`Instantiates [ParsedownExtra](https://github.com/erusev/parsedown-extra) class instead of Parsedown.`false``safe_mode`Processes untrusted user-input.`true``enable_breaks`Converts line breaks such as `\n` into `` tags.`false``escape_markup`Escapes **HTML** in trusted input. Redundant if `safe_mode` is enabled.`false``link_urls`Automatically converts **URL**s into anchor tags.`true``inline`Tells the `parsedown()` helper and `@parsedown` directive to use inline parsing by default.`false`You can overwrite these values by publishing the `config/parsedown.php` file with the following command:

```
php artisan vendor:publish --provider="Kudashevs\LaravelParsedown\Providers\ParsedownServiceProvider"
```

Usage
-----

[](#usage)

The code below shows how the `laravel-parsedown` can be used in `*.blade.php` files:

```
@parsedown('Hello _Parsedown_!')
```

...or using the helper instead:

```
{{ parsedown('Hello _Parsedown_!') }}
```

These examples are going to convert Markdown into this HTML code:

```
Hello Parsedown!
```

If you want to use the inline parsing style, you just need to set the second argument as `true`:

```
@parsedown('Hello _Parsedown_!', true)
```

...or using the helper instead:

```
{{ parsedown('Hello _Parsedown_!', true) }}
```

The parsing style examples are going to generate:

```
Hello Parsedown!
```

The helper is globally available and can also be used with PHP code throughout your project.

License
-------

[](#license)

The MIT License (MIT). Please see the [License file](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance40

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

500d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cb0dfa9fab98bfb2cb6c697744ea5c1f7f57ffd6b0a498df6a17223912b617a?d=identicon)[Sergey Kudashev](/maintainers/Sergey%20Kudashev)

---

Top Contributors

[![kudashevs](https://avatars.githubusercontent.com/u/15892462?v=4)](https://github.com/kudashevs "kudashevs (62 commits)")[![eagostini](https://avatars.githubusercontent.com/u/3128457?v=4)](https://github.com/eagostini "eagostini (35 commits)")[![osbre](https://avatars.githubusercontent.com/u/23292709?v=4)](https://github.com/osbre "osbre (1 commits)")[![por](https://avatars.githubusercontent.com/u/67254?v=4)](https://github.com/por "por (1 commits)")[![wmather](https://avatars.githubusercontent.com/u/3214643?v=4)](https://github.com/wmather "wmather (1 commits)")

---

Tags

laravelmarkdownparsedownlaravelmarkdownparsedown

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kudashevs-laravel-parsedown/health.svg)

```
[![Health](https://phpackages.com/badges/kudashevs-laravel-parsedown/health.svg)](https://phpackages.com/packages/kudashevs-laravel-parsedown)
```

###  Alternatives

[benjaminhoegh/parsedown-extended

An extension for Parsedown.

5022.6k1](/packages/benjaminhoegh-parsedown-extended)[alfredo-ramos/parsedown-extra-laravel

A Parsedown Extra package for Laravel

30155.1k1](/packages/alfredo-ramos-parsedown-extra-laravel)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5933.7k](/packages/tovic-parsedown-extra-plugin)[taufik-nurrohman/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5932.3k](/packages/taufik-nurrohman-parsedown-extra-plugin)[maglnet/magl-markdown

Provides a ZF2 View Helper to render markdown syntax. It uses third-party libraries for the rendering and you can switch between different renderers.

22178.2k4](/packages/maglnet-magl-markdown)[buzzylab/laradown

A New Markdown parser for Laravel built on parsedown

317.3k](/packages/buzzylab-laradown)

PHPackages © 2026

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