PHPackages                             setono/editorjs-bundle - 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. setono/editorjs-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

setono/editorjs-bundle
======================

Symfony bundle that integrates the editorjs-php library

v1.3.0(1y ago)844.2k↓20.5%[1 issues](https://github.com/Setono/editorjs-bundle/issues)MITPHPPHP &gt;=8.1CI passing

Since Aug 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Setono/editorjs-bundle)[ Packagist](https://packagist.org/packages/setono/editorjs-bundle)[ GitHub Sponsors](https://github.com/Setono)[ RSS](/packages/setono-editorjs-bundle/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (9)Dependencies (16)Versions (11)Used By (0)

Symfony EditorJS Bundle
=======================

[](#symfony-editorjs-bundle)

[![Latest Version](https://camo.githubusercontent.com/5ebc3a6aa9eb3e0c3cf3f181c9a8793671954fff6b857893a86b48e68c896781/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f656469746f726a732d62756e646c652f762f737461626c65)](https://packagist.org/packages/setono/editorjs-bundle)[![Software License](https://camo.githubusercontent.com/b799a830d6cad483e2382dff32b0a2df3d70ddc4eff4308f77ca32bfc88cefc7/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f656469746f726a732d62756e646c652f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/editorjs-bundle/actions/workflows/build.yaml/badge.svg)](https://github.com/Setono/editorjs-bundle/actions/workflows/build.yaml)[![Code Coverage](https://camo.githubusercontent.com/5be3d9757ca5b2c7cbabc93c1073c6755cad190820d210f386546f63b83d1ad5/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f656469746f726a732d62756e646c652f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/editorjs-bundle)[![Mutation testing](https://camo.githubusercontent.com/25fb686322714430a1ca6c41219d58754994f2f99b68d7f1e40fbd740327285f/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532465365746f6e6f253246656469746f726a732d62756e646c65253246312e78)](https://dashboard.stryker-mutator.io/reports/github.com/Setono/editorjs-bundle/1.x)

This bundle integrates the [editorjs-php](https://github.com/Setono/editorjs-php) library into Symfony.

Instead of using the default block renderers in the library, this bundle creates a [TwigBlockRenderer](src/BlockRenderer/TwigBlockRenderer.php)which renders all blocks as twig templates. This makes it very easy for you to override the rendered HTML for each block.

Install
-------

[](#install)

```
composer require setono/editorjs-bundle
```

Usage
-----

[](#usage)

```
