PHPackages                             lostlink/laravel-editorjs - 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. lostlink/laravel-editorjs

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

lostlink/laravel-editorjs
=========================

A simple editor.js html parser for Laravel with Tailwind styling

00PHP

Since Jan 23Pushed 3y agoCompare

[ Source](https://github.com/lostlink/laravel-editorjs)[ Packagist](https://packagist.org/packages/lostlink/laravel-editorjs)[ RSS](/packages/lostlink-laravel-editorjs/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![image](https://user-images.githubusercontent.com/30468274/162574530-f9af87ef-79d4-41de-8ddb-9ebf60563ac9.png)](https://user-images.githubusercontent.com/30468274/162574530-f9af87ef-79d4-41de-8ddb-9ebf60563ac9.png)

Laravel-Editor.js
=================

[](#laravel-editorjs)

A simple editor.js html parser for Laravel with Tailwind styling

[![Latest Version on Packagist](https://camo.githubusercontent.com/cd9db59271316fa45c7fc569e41bc4ec05ad1bbb3e6b1af5256176f5ec7255d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f73746c696e6b2f6c61726176656c2d656469746f726a732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/lostlink/laravel-editorjs)[![Total Downloads](https://camo.githubusercontent.com/b24793cc7224d8630242827190da8360ec4ebcb88c3bfe1eaabbad86c17bd148/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f73746c696e6b2f6c61726176656c2d656469746f726a732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/lostlink/laravel-editorjs)

---

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

[](#installation)

You can install the package via composer:

```
composer require lostlink/laravel-editorjs
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel_editorjs-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel_editorjs-views"
```

Usage
-----

[](#usage)

```
use App\Models\Post;

$post = Post::find(1);
echo LaravelEditorJs::render($post->body);
```

Defining An Accessor

```
