PHPackages                             rymesaint/xetaravel-editor-md-new - 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. rymesaint/xetaravel-editor-md-new

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

rymesaint/xetaravel-editor-md-new
=================================

A wrapper to use Editor.md with Laravel.

v1.0.3(6y ago)06MITPHPPHP ^7.1.3

Since May 26Pushed 6y agoCompare

[ Source](https://github.com/rymesaint/Xetaravel-Editor-New)[ Packagist](https://packagist.org/packages/rymesaint/xetaravel-editor-md-new)[ Docs](https://github.com/rymesaint/Xetaravel-Editor-md-New)[ RSS](/packages/rymesaint-xetaravel-editor-md-new/feed)WikiDiscussions master Synced yesterday

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

> # Xetaravel Editor.md New
>
> [](#xetaravel-editormd-new)
>
> Stable VersionDownloadsLaravelLicense[![Latest Stable Version](https://camo.githubusercontent.com/3ddf00004babde878f215a74d3641cda1fc96adea4e7baa940605c91190f4622/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72796d657361696e742f58657461726176656c2d456469746f722d6d642d6e65772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rymesaint/xetaravel-editor-md-new)[![Total Downloads](https://camo.githubusercontent.com/4bed4c73d4ef0482de0a27384b1f396271ff824ec97a537d58be8dbce621b45e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72796d657361696e742f78657461726176656c2d656469746f722d6d642d6e65772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xetaio/xetaravel-editor-md)[![Laravel 6.0](https://camo.githubusercontent.com/f9fb228287bfa391a008dd97447ce8172ac4770904cf8cdb28c4c71477e5f346/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d2533453d362e302d6634363435662e7376673f7374796c653d666c61742d737175617265)](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/109e6d78befbc92552e854d90263c1bb80c2c70066f596a9766bc5b5f87ee1a9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e312d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/109e6d78befbc92552e854d90263c1bb80c2c70066f596a9766bc5b5f87ee1a9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e312d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)
>
> ## Installation
>
> [](#installation)
>
> ```
> composer require rymesaint/xetaravel-editor-md-new
>
> ```
>
>
>
> #### 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/rymesaint/Xetaravel-Editor-md-New/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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% 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 ~251 days

Total

5

Last Release

2267d ago

Major Versions

v0.0.1 → v1.0.02018-03-11

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

v1.0.0PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/64f4cd351befa94885052f119e3fa435bc5118cdedffcf21eb51630e25752e41?d=identicon)[rymesaint](/maintainers/rymesaint)

---

Top Contributors

[![ycrao](https://avatars.githubusercontent.com/u/3280204?v=4)](https://github.com/ycrao "ycrao (9 commits)")[![rymesaint](https://avatars.githubusercontent.com/u/4441045?v=4)](https://github.com/rymesaint "rymesaint (5 commits)")

---

Tags

laravelmarkdownwysiwyglaravel-6-packageeditor.md

### Embed Badge

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

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

###  Alternatives

[vtalbot/markdown

Markdown compiler for Laravel 5

100204.2k3](/packages/vtalbot-markdown)[xetaio/xetaravel-editor-md

A wrapper to use Editor.md with Laravel.

232.7k](/packages/xetaio-xetaravel-editor-md)[torchlight/torchlight-commonmark

A Commonmark extension for Torchlight, the syntax highlighting API.

29256.6k6](/packages/torchlight-torchlight-commonmark)

PHPackages © 2026

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