PHPackages                             darylseven/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. [Framework](/categories/framework)
4. /
5. darylseven/editorjs-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

darylseven/editorjs-bundle
==========================

Symfony bundle for Editor.js

v0.1.10(1mo ago)0505↓86.7%1MITPHPPHP &gt;=8.2

Since Oct 16Pushed 1mo agoCompare

[ Source](https://github.com/darylSeven/EditorjsBundle)[ Packagist](https://packagist.org/packages/darylseven/editorjs-bundle)[ Docs](https://github.com/RusFeniks/EditorjsBundle)[ RSS](/packages/darylseven-editorjs-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (24)Versions (6)Used By (0)

EditorjsBundle
==============

[](#editorjsbundle)

Symfony bundle that integrates Editor.js primarily with Symfony Forms.

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

[](#installation)

### Symfony

[](#symfony)

1. Download the package with composer: `$ composer require tbmatuka/editorjs-bundle`
2. Add the bundle to `bundles.php` if it wasn't added automatically: `Tbmatuka\EditorjsBundle\TbmatukaEditorjsBundle::class => ['all' => true],`
3. Copy the example package config file (`examples/ediotrjs.yaml`) or use it as an example to create your own configuration.
4. Add the form theme to your twig configuration:

```
twig:
  form_themes:
    - '@TbmatukaEditorjs/Form/editorjs_widget.html.twig'
```

### JavaScript

[](#javascript)

There is an example of the JS implementation in `examples/editorjs-init.js`.

#### Encore/webpack

[](#encorewebpack)

If you're using Encore, you will need to install the npm package for Editor.js (`@editorjs/editorjs`) and any plugins that you want to use. Copy the example to your assets dir, add the plugin classes to the array and import the file from your main JS file.

#### Inline

[](#inline)

Configuration options and examples will have to be added for other loading methods (like loading JS from the CDN or a local path inline in the widget), but they're not there for now.

Usage
-----

[](#usage)

### Symfony Forms

[](#symfony-forms)

You can use the `EditorjsType` in your forms to get Editor.js on the frontend. Data (decoded json) is returned as an array.

### Twig

[](#twig)

You can get an Editor.js config directly from the Twig extension. Check the form widget in `src/Resources/views/Form/editorjs_widget.html.twig` to see how to use it. The `editorjs()` Twig function accepts either a configuration object or just the name of a configuration that you want to use.

Contributing
------------

[](#contributing)

Any kind of help is welcome, but especially information about the included JS not working in specific browsers. Please open an issue to discuss whatever you want to work on before you submit a pull request and avoid any kind of BC breaking changes unless they are agreed to in the issue discussion.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance90

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~234 days

Total

5

Last Release

53d ago

PHP version history (2 changes)v0.1.6PHP &gt;=8.1

v0.1.8PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![tbmatuka](https://avatars.githubusercontent.com/u/1024167?v=4)](https://github.com/tbmatuka "tbmatuka (12 commits)")[![darylSeven](https://avatars.githubusercontent.com/u/6087977?v=4)](https://github.com/darylSeven "darylSeven (10 commits)")[![RusFeniks](https://avatars.githubusercontent.com/u/43300497?v=4)](https://github.com/RusFeniks "RusFeniks (6 commits)")[![RobinDev](https://avatars.githubusercontent.com/u/3944894?v=4)](https://github.com/RobinDev "RobinDev (1 commits)")[![ArtemBurykin](https://avatars.githubusercontent.com/u/17201825?v=4)](https://github.com/ArtemBurykin "ArtemBurykin (1 commits)")[![YellowPhoenix18](https://avatars.githubusercontent.com/u/9165159?v=4)](https://github.com/YellowPhoenix18 "YellowPhoenix18 (1 commits)")[![davidgorges](https://avatars.githubusercontent.com/u/3885619?v=4)](https://github.com/davidgorges "davidgorges (1 commits)")[![maczuk](https://avatars.githubusercontent.com/u/5550410?v=4)](https://github.com/maczuk "maczuk (1 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/darylseven-editorjs-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/darylseven-editorjs-bundle/health.svg)](https://phpackages.com/packages/darylseven-editorjs-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M736](/packages/sylius-sylius)

PHPackages © 2026

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