PHPackages                             codeq/htmlcontent - 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. codeq/htmlcontent

ActiveNeos-plugin

codeq/htmlcontent
=================

HTML content nodes for the Neos CMS

v2.0.3(3mo ago)0983—0%1GPL-3.0-or-laterPHP

Since Feb 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/code-q-web-factory/NEOSidekick.HtmlContent)[ Packagist](https://packagist.org/packages/codeq/htmlcontent)[ RSS](/packages/codeq-htmlcontent/feed)WikiDiscussions main Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/d7ce7fcb3bd04039f788f385b3fdcfb031cfe827ab359a55b843058016620036/68747470733a2f2f706f7365722e707567782e6f72672f6e656f736964656b69636b2f68746d6c636f6e74656e742f762f737461626c65)](https://packagist.org/packages/codeq/htmlcontent)[![License](https://camo.githubusercontent.com/d753b67b7f058c3a1f85a7691dd5ef50f3061817b13d58e2b5bb72b35c9fd3aa/68747470733a2f2f706f7365722e707567782e6f72672f6e656f736964656b69636b2f68746d6c636f6e74656e742f6c6963656e7365)](LICENSE)

HTML Content nodes for Neos CMS
===============================

[](#html-content-nodes-for-neos-cms)

#### The successor of [CodeQ.HtmlWidget](https://github.com/code-q-web-factory/neos-htmlwidget)

[](#the-successor-of-codeqhtmlwidget)

Create content nodes with HTML code, e.g. external players or iframe embeds. Manage who can create and editor those nodes with the role `NEOSidekick.HtmlContent:HtmlWidgetDefinitionEditor`.

Features
--------

[](#features)

- Validates HTML and prevents the backend from breaking by not rendering broken HTML
- Automatically removes JavaScript code in the backend, to not break the Neos Administration
- Used media assets can be set on the node, so these assets can not be deleted.

[![HTML Content Demo](https://camo.githubusercontent.com/0d10d2ffa0f520744ce3673a0fdfedb570de8dc8721f26711179b890337e3445/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f514c6536745257735957512f302e6a7067)](https://youtu.be/QLe6tRWsYWQ)

*The development and the public-releases of this package are generously sponsored by [Code Q Web Factory](http://codeq.at).*

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

[](#installation)

NEOSidekick.HtmlContent is available via packagist. `"neosidekick/htmlcontent" : "~2.0"` to the require section of the composer.json or run:

```
composer require neosidekick/htmlcontent
```

We use semantic-versioning so every breaking change will increase the major-version number.

You want to define your own NodeType or different Fusion?
---------------------------------------------------------

[](#you-want-to-define-your-own-nodetype-or-different-fusion)

Just set the NodeType to abstract and do your own thing:

```
'NEOSidekick.HtmlContent:Content.Html':
  abstract: true
```

```
'YOUR.PACKAGE:Content.Html':
  superTypes:
    'NEOSidekick.HtmlContent:Content.Html': true
```

```
prototype(YOUR.PACKAGE:Content.Html) < prototype(Neos.Neos:ContentComponent) {
  renderer = afx`

  `
}

```

License
-------

[](#license)

Licensed under MIT, see [LICENSE](LICENSE)

Contribution
------------

[](#contribution)

We will gladly accept contributions. Please send us pull requests.

### Testing

[](#testing)

The package contains unit tests to verify the HTML parsing and validation logic. You can run the tests using PHPUnit.

If you are using ddev (recommended):

```
ddev exec bin/phpunit -c UnitTests.xml DistributionPackages/NEOSidekick.HtmlContent/Tests/Unit
```

If you are running it directly:

```
bin/phpunit -c UnitTests.xml DistributionPackages/NEOSidekick.HtmlContent/Tests/Unit
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance79

Regular maintenance activity

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% 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 ~264 days

Total

5

Last Release

109d ago

Major Versions

v1.0.0 → v2.0.02024-06-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/c898f86932821ebd9add02d4f01864bd4804e1a620083fbc5951af0bb3e9c850?d=identicon)[codeq](/maintainers/codeq)

---

Top Contributors

[![rolandschuetz](https://avatars.githubusercontent.com/u/735982?v=4)](https://github.com/rolandschuetz "rolandschuetz (10 commits)")[![gradinarufelix](https://avatars.githubusercontent.com/u/4405087?v=4)](https://github.com/gradinarufelix "gradinarufelix (3 commits)")

---

Tags

htmlflowNeosFUSION

### Embed Badge

![Health badge](/badges/codeq-htmlcontent/health.svg)

```
[![Health](https://phpackages.com/badges/codeq-htmlcontent/health.svg)](https://phpackages.com/packages/codeq-htmlcontent)
```

###  Alternatives

[carbon/includeassets

Include your assets (css, js) in an easy way into Neos

14228.6k10](/packages/carbon-includeassets)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

1494.4k6](/packages/shel-neos-colorpicker)

PHPackages © 2026

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