PHPackages                             xetaio/xetaravel-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. xetaio/xetaravel-editor-md

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

xetaio/xetaravel-editor-md
==========================

A wrapper to use Editor.md with Laravel.

9.0.0(4y ago)222.8k5MITPHPPHP &gt;=7.3

Since May 26Pushed 4y ago2 watchersCompare

[ Source](https://github.com/XetaIO/Xetaravel-Editor-md)[ Packagist](https://packagist.org/packages/xetaio/xetaravel-editor-md)[ Docs](https://github.com/XetaIO/Xetaravel-Editor-md)[ RSS](/packages/xetaio-xetaravel-editor-md/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

> # Xetaravel Editor.md
>
> [](#xetaravel-editormd)
>
> Stable VersionDownloadsLaravelLicense[![Latest Stable Version](https://camo.githubusercontent.com/2b283f279752ae3477aaa40efccbebb740a5133501bb2703ab57e670be8892e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f58657461494f2f58657461726176656c2d456469746f722d6d642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xetaio/xetaravel-editor-md)[![Total Downloads](https://camo.githubusercontent.com/1a91a063ae6c88d318b0a440c17bca754be1e5447b7ca64a10298e8cc7054a64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f78657461696f2f78657461726176656c2d656469746f722d6d642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xetaio/xetaravel-editor-md)[![Laravel 5.6](https://camo.githubusercontent.com/4be469918d81757bbfce0d8ba7b2efccbc3a867a51c95b789ca194c40d03f7ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d2533453d382e302d6634363435662e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/XetaIO/Xetaravel-Editor-md/blob/master/LICENSE)A wrapper to use [Editor.md](https://pandao.github.io/editor.md/) with Laravel.
>
> ## Requirement
>
> [](#requirement)
>
> [![PHP](https://camo.githubusercontent.com/5ef61e5040ad2d4be8064cde6ee1cadb8a371b222cd33971a96b40031cc1f51a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/5ef61e5040ad2d4be8064cde6ee1cadb8a371b222cd33971a96b40031cc1f51a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)
>
> ## Installation
>
> [](#installation)
>
> ```
> composer require xetaio/xetaravel-editor-md
>
> ```
>
>
>
> #### ServiceProviders
>
> [](#serviceproviders)
>
> Import the `EditorServiceProvider` in your `config/app.php`:
>
> ```
> 'providers' => [
>     //...
>     Xetaio\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="Xetaio\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/XetaIO/Xetaravel-Editor-md/blob/master/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

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 52.9% 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 ~295 days

Recently: every ~288 days

Total

7

Last Release

1554d ago

Major Versions

v0.0.1 → v1.0.02018-03-11

v1.0.1 → v2.0.02020-08-02

v2.0.2 → 9.0.02022-03-30

PHP version history (5 changes)v0.0.1PHP &gt;=7.0

v1.0.0PHP ^7.1.3

v2.0.0PHP ^7.2.5

v2.0.2PHP ^7.3|^8.0

9.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b411de63e10c9029d2d06da585856f15db12c23395bc908f085fad15638a8098?d=identicon)[Xety](/maintainers/Xety)

---

Top Contributors

[![ycrao](https://avatars.githubusercontent.com/u/3280204?v=4)](https://github.com/ycrao "ycrao (9 commits)")[![Xety](https://avatars.githubusercontent.com/u/8210023?v=4)](https://github.com/Xety "Xety (8 commits)")

---

Tags

editor-mdlaravellaravel-5-packagemarkdownmarkdown-editorwysiwyglaravelmarkdownwysiwyglaravel-5-packageeditor.md

### Embed Badge

![Health badge](/badges/xetaio-xetaravel-editor-md/health.svg)

```
[![Health](https://phpackages.com/badges/xetaio-xetaravel-editor-md/health.svg)](https://phpackages.com/packages/xetaio-xetaravel-editor-md)
```

###  Alternatives

[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M131](/packages/laravel-mcp)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M123](/packages/roots-acorn)[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k11.8M113](/packages/nuwave-lighthouse)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M125](/packages/laravel-pulse)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M161](/packages/intervention-image-laravel)

PHPackages © 2026

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