PHPackages                             sikl0/ejs-renderer - 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. [Templating &amp; Views](/categories/templating)
4. /
5. sikl0/ejs-renderer

ActiveLibrary[Templating &amp; Views](/categories/templating)

sikl0/ejs-renderer
==================

EditorJS renderer for Laravel — converts EditorJS JSON to HTML

0.1.0(2mo ago)04MITPHPPHP ^8.1

Since Apr 8Pushed 2mo agoCompare

[ Source](https://github.com/sikl0/ejs-renderer)[ Packagist](https://packagist.org/packages/sikl0/ejs-renderer)[ RSS](/packages/sikl0-ejs-renderer/feed)WikiDiscussions main Synced 2w ago

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

sikl0/ejs-renderer
==================

[](#sikl0ejs-renderer)

EditorJS renderer for Laravel — converts EditorJS JSON output to HTML.

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

[](#installation)

```
composer require sikl0/ejs-renderer
```

Publishing CSS
--------------

[](#publishing-css)

```
php artisan vendor:publish --tag=ejs-renderer-css
```

This will publish `ejs.css` to `resources/css/ejs.css`.

Then add it to your Vite config:

```
// vite.config.js
export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/css/app.css', 'resources/css/ejs.css', 'resources/js/app.js'],
        }),
    ],
});
```

And load it in your Blade layout:

```
@vite(['resources/css/app.css', 'resources/css/ejs.css', 'resources/js/app.js'])
```

> `ejs.css` uses Tailwind v4 — make sure Tailwind v4 is installed in your project.

Usage
-----

[](#usage)

```
use Sikl0\EJSRenderer\EJSRenderer;

$renderer = new EJSRenderer($post->content); // string JSON or array
echo $renderer->html();
```

Or via dependency injection:

```
use Sikl0\EJSRenderer\EJSRenderer;

public function show(Post $post, EJSRenderer $renderer)
{
    // ...
}
```

Supported blocks
----------------

[](#supported-blocks)

BlockClassheader`ejs-header`, `ejs-h1` – `ejs-h6`paragraph`ejs-paragraph`image`ejs-image`, `ejs-image-border`, `ejs-image-background`, `ejs-image-stretched`list`ejs-list`, `ejs-list-ordered`, `ejs-list-unordered`warning`ejs-warning`code`ejs-code`quote`ejs-quote`, `ejs-quote-left`, `ejs-quote-center`, `ejs-quote-right`table`ejs-table`embed`ejs-embed`, `ejs-embed-{service}`checklist`ejs-checklist`delimiter`ejs-delimiter`attaches`ejs-attaches`License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance85

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

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

80d ago

### Community

Maintainers

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

---

Top Contributors

[![kolkis-redats](https://avatars.githubusercontent.com/u/191241669?v=4)](https://github.com/kolkis-redats "kolkis-redats (1 commits)")[![sikl0](https://avatars.githubusercontent.com/u/45985086?v=4)](https://github.com/sikl0 "sikl0 (1 commits)")

### Embed Badge

![Health badge](/badges/sikl0-ejs-renderer/health.svg)

```
[![Health](https://phpackages.com/badges/sikl0-ejs-renderer/health.svg)](https://phpackages.com/packages/sikl0-ejs-renderer)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13046.3M2.1k](/packages/illuminate-view)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5452.7k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

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