PHPackages                             ingress-it-solutions/markdown-editor-md - 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. ingress-it-solutions/markdown-editor-md

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ingress-it-solutions/markdown-editor-md
=======================================

A wrapper to use Editor.md with Laravel.

13PHP

Since May 15Pushed 2y agoCompare

[ Source](https://github.com/ingress-it-solutions/markdown-editor-md)[ Packagist](https://packagist.org/packages/ingress-it-solutions/markdown-editor-md)[ RSS](/packages/ingress-it-solutions-markdown-editor-md/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

> # Markdown Editor.md
>
> [](#markdown-editormd)
>
> A wrapper to use [Editor.md](https://pandao.github.io/editor.md/) with Laravel.
>
> ## Requirement
>
> [](#requirement)
>
> [![PHP](https://camo.githubusercontent.com/d7ee5e0a5a0cb2fbd0bafdc2963951ae2ed2c7ece85e58106d1db397c8ccab10/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e322e352d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/d7ee5e0a5a0cb2fbd0bafdc2963951ae2ed2c7ece85e58106d1db397c8ccab10/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e322e352d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)
>
> ## Installation
>
> [](#installation)
>
> ```
> composer require ingress-it-solutions/markdown-editor-md
>
> ```
>
>
>
> #### ServiceProviders
>
> [](#serviceproviders)
>
> Import the `EditorServiceProvider` in your `config/app.php`:
>
> ```
> 'providers' => [
>     //...
>     Ingress\Editor\EditorServiceProvider::class,
>     //...
> ]
> ```
>
>
>
> #### Vendor Publish
>
> [](#vendor-publish)
>
> Publish the vendor files to your application (included the config file `config/editor.php` and the `public/vendor/editor.md` directory) :
>
> ```
> php artisan vendor:publish --provider="Ingress\Editor\EditorServiceProvider"
> ```
>
>
>
> ### Configuration
>
> [](#configuration)
>
> All configuration options can be found in your `config/editor.php` file. For a full configuration options, read the documentation on the [Editor.md](https://pandao.github.io/editor.md/) site.
>
> ### Usage
>
> [](#usage)
>
> To use it with the basic options, just use the helpers included with the plugin:
>
> ```
> >
>
>
>
>    Editor.md example
>    {!! editor_css() !!}
>
>
>     Editor.md example
>
>
>
>
>             # Editor.md for Laravel
>
>
>
>     {!! editor_js() !!}
>     {!! editor_config(['id' => 'editormd']) !!}
>
>
> ```
>
>
>
> #### Advanced usage
>
> [](#advanced-usage)
>
> If you want to use your custom options or options that are not in the config file, one of the best way, it to setup your Editor like that :
>
> ```
>
> >
>
>
>
>    Editor.md example
>
>
>    @stack('styles')
>
>
>
>    @yield('content')
>
>
>    @stack('scripts')
>
>
> ```
>
>
>
> ```
>
> @extends('layouts.app')
>
> @push('styles')
>    {!! editor_css() !!}
> @endpush
>
> @push('scripts')
>    {!! editor_js() !!}
>
>    @php
>        $config = [
>            'id' => 'commentEditor',
>            'height' => '350',
>            // Others settings here...
>        ];
>    @endphp
>
>    @include('editor/partials/_comment', $config)
> @endpush
>
> @section('content')
> //...
>
>
>
> //...
> @endsection
> ```
>
>
>
> ```
>
>
> var _{{ array_get($config, 'id', 'myeditor') }};
> $(function() {
>    editormd.emoji = {
>        path : "{{ array_get($config, 'emojiPath', config('editor.emojiPath')) }}",
>        ext : ".png"
>    };
>    _{{ array_get($config, 'id', 'myeditor') }} = editormd({
>        id : "{{ array_get($config, 'id', 'myeditor') }}",
>        width : "{{ array_get($config, 'width', config('editor.width')) }}",
>        height : "{{ array_get($config, 'height', config('editor.height')) }}",
>        saveHTMLToTextarea : {{ array_get($config, 'saveHTMLToTextarea', config('editor.saveHTMLToTextarea')) }},
>        emoji : {{ array_get($config, 'emoji', config('editor.emoji')) }},
>        taskList : {{ array_get($config, 'taskList', config('editor.taskList')) }},
>        tex : {{ array_get($config, 'tex', config('editor.tex')) }},
>        toc : {{ array_get($config, 'toc', config('editor.toc')) }},
>        tocm : {{ array_get($config, 'tocm', config('editor.tocm')) }},
>        codeFold : {{ array_get($config, 'codeFold', config('editor.codeFold')) }},
>        flowChart: {{ array_get($config, 'flowChart', config('editor.flowChart')) }},
>        sequenceDiagram: {{ array_get($config, 'sequenceDiagram', config('editor.sequenceDiagram')) }},
>        path : "{{ array_get($config, 'path', config('editor.path')) }}",
>        imageUpload : {{ array_get($config, 'imageUpload', config('editor.imageUpload')) }},
>        imageFormats : {!! array_get($config, 'imageFormats', json_encode(config('editor.imageFormats'))) !!},
>        imageUploadURL : "{{ array_get($config, 'imageUploadURL', config('editor.imageUploadURL')) }}?_token={{ csrf_token() }}&from=xetaravel-editor-md",
>        pluginPath : "{{ asset(array_get($config, 'pluginPath', config('editor.pluginPath'))) }}/",
>        watch : false,
>        editorTheme : 'mdn-like',
>        placeholder : 'Type your comment here...',
>        toolbarIcons : function () {
>            return [
>                "undo", "redo", "|",
>                "bold", "italic", "quote", "|",
>                "h1", "h2", "|",
>                "help"
>            ];
>        }
>       // Others settings...
>    });
> });
>
> ```
>
>
>
> ### Upload File
>
> [](#upload-file)
>
> This package come with a build-in upload feature. You don't have to do anything to get it work.. expect to upload an image. 😜 If you want to do your own uploader, just register a new route and set it to `imageUploadURL` configuration option. (Of course you will need to create your own Controller and action, [take a look here for an exemple](https://github.com/ingress-it-solutions/markdown-editor-md/blob/main/src/Http/Controllers/MarkdownEditorController.php))
>
> ## Contribute
>
> [](#contribute)
>
> If you want to contribute to the project by adding new features or just fix a bug, feel free to do a PR.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47470909?v=4)[vandanafuletra](/maintainers/vandanafuletra)[@vandanafuletra](https://github.com/vandanafuletra)

---

Top Contributors

[![vandanafuletra](https://avatars.githubusercontent.com/u/47470909?v=4)](https://github.com/vandanafuletra "vandanafuletra (1 commits)")

### Embed Badge

![Health badge](/badges/ingress-it-solutions-markdown-editor-md/health.svg)

```
[![Health](https://phpackages.com/badges/ingress-it-solutions-markdown-editor-md/health.svg)](https://phpackages.com/packages/ingress-it-solutions-markdown-editor-md)
```

###  Alternatives

[lezhnev74/pasvl

Array Validator (regular expressions for nested array, sort of)

5258.3k3](/packages/lezhnev74-pasvl)[nystudio107/craft-recipe

A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support

266.4k](/packages/nystudio107-craft-recipe)[overtrue/laravel-qcloud-federation-token

QCloud COS FederationToken generator for Laravel.

179.5k](/packages/overtrue-laravel-qcloud-federation-token)

PHPackages © 2026

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