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

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

tbmatuka/editorjs-bundle
========================

Symfony bundle for Editor.js

v0.1.5(5y ago)2017.1k↓28.6%10[3 PRs](https://github.com/tbmatuka/EditorjsBundle/pulls)MITPHPPHP &gt;=7.2

Since Apr 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tbmatuka/EditorjsBundle)[ Packagist](https://packagist.org/packages/tbmatuka/editorjs-bundle)[ Docs](https://github.com/tbmatuka/EditorjsBundle)[ RSS](/packages/tbmatuka-editorjs-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (9)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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~66 days

Recently: every ~83 days

Total

6

Last Release

1892d ago

PHP version history (2 changes)v0.1.0PHP ^7.2

v0.1.4PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ee2935c14125176673c5ff0319ffddc913225c704817467b8f404b9093c0ae3?d=identicon)[tbmatuka](/maintainers/tbmatuka)

---

Top Contributors

[![tbmatuka](https://avatars.githubusercontent.com/u/1024167?v=4)](https://github.com/tbmatuka "tbmatuka (12 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)")[![RobinDev](https://avatars.githubusercontent.com/u/3944894?v=4)](https://github.com/RobinDev "RobinDev (1 commits)")[![YellowPhoenix18](https://avatars.githubusercontent.com/u/9165159?v=4)](https://github.com/YellowPhoenix18 "YellowPhoenix18 (1 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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