PHPackages                             carbon/primarycontent - 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. carbon/primarycontent

ActiveNeos-carbon[Utility &amp; Helpers](/categories/utility)

carbon/primarycontent
=====================

Extended implementation from PrimaryContent

3.3.0(4y ago)01.2kMIT

Since Jun 5Pushed 4y ago2 watchersCompare

[ Source](https://github.com/CarbonPackages/Carbon.PrimaryContent)[ Packagist](https://packagist.org/packages/carbon/primarycontent)[ Fund](https://www.paypal.me/Jonnitto/20eur)[ GitHub Sponsors](https://github.com/jonnitto)[ RSS](/packages/carbon-primarycontent/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/a44944846e22f755638415a9c9f10836008dec4fc29b0a31a2865afcb6eccf8d/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f7072696d617279636f6e74656e742f762f737461626c65)](https://packagist.org/packages/carbon/primarycontent)[![Total Downloads](https://camo.githubusercontent.com/8f47c65a3fde0602b1a37aa417780c7ae067ad45a0ff9467a753be2ef75f85a4/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f7072696d617279636f6e74656e742f646f776e6c6f616473)](https://packagist.org/packages/carbon/primarycontent)[![License](https://camo.githubusercontent.com/7b42a7523e984e879fb2c7f5209bb55a2871cd1e40ed6ac3e79ff86cae1695d3/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f7072696d617279636f6e74656e742f6c6963656e7365)](LICENSE)[![GitHub forks](https://camo.githubusercontent.com/2cc2f49da19515a770b29731f51b674ed0c5f5b6d5ea6d2b9e26152a34c12701/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f436172626f6e5061636b616765732f436172626f6e2e5072696d617279436f6e74656e742e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/CarbonPackages/Carbon.PrimaryContent/fork)[![GitHub stars](https://camo.githubusercontent.com/1a77e694514c634f760f8aa1e2144f2305c09dc6b1436502163d7754f74faa20/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f436172626f6e5061636b616765732f436172626f6e2e5072696d617279436f6e74656e742e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://github.com/CarbonPackages/Carbon.PrimaryContent/stargazers)[![GitHub watchers](https://camo.githubusercontent.com/9fbe8ce72a5da2ff3048bbc7d65664c2f07b6638472925317ac48f3364a3a47c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f436172626f6e5061636b616765732f436172626f6e2e5072696d617279436f6e74656e742e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/CarbonPackages/Carbon.PrimaryContent/subscription)

Carbon.PrimaryContent Package for Neos CMS
==========================================

[](#carbonprimarycontent-package-for-neos-cms)

VersionNeos1.\*3.\*3.\*4.\*&gt;= 3.0.34.\* - 7.\*[`Carbon.PrimaryContent:PrimaryContent`](Resources/Private/Fusion/Helper/PrimaryContent.fusion)
-----------------------------------------------------------------------------------------------

[](#carbonprimarycontentprimarycontent)

This is an own implementation from PrimaryContent. If a document node has a prototype with a `.MainContent` or a `.PlainContent` suffix this prototype will be used as content. Otherwise, the ContentCollection will be rendered. It is also possible to pass your own content.

[`Carbon.PrimaryContent:ClassArray`](Resources/Private/Fusion/Helper/ClassArray.fusion)
---------------------------------------------------------------------------------------

[](#carbonprimarycontentclassarray)

Raw Array of the css classes for the `Carbon.PrimaryContent:PrimaryContent`. Can be used also for the `body` tag.

[`Carbon.PrimaryContent:NodeTypeName`](Resources/Private/Fusion/Helper/NodeTypeName.fusion)
-------------------------------------------------------------------------------------------

[](#carbonprimarycontentnodetypename)

Convert a name from a nodetype to a `hyphen-case-string`. Make use of `Carbon.PrimaryContent:RemoveVendors`.

[`Carbon.PrimaryContent:RemoveVendors`](Resources/Private/Fusion/Helper/RemoveVendors.fusion)
---------------------------------------------------------------------------------------------

[](#carbonprimarycontentremovevendors)

If you want to remove some of the vendor names from the NodeTypeName, this helper is for you. Per default it will read the setting `Carbon.PrimaryContent.removeVendors`

Example:

```
prototype(Carbon.PrimaryContent:NodeTypeName) {
    @process.removeVendorName = Carbon.PrimaryContent:RemoveVendors {
        vendors = ${['Vendor', 'Foo', 'Bar']}
    }
}
```

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

[](#installation)

Most of the time you have to make small adjustments to a package (e.g. configuration in `Settings.yaml`). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under `Packages/Sites/`. To install it correctly go to your theme package (e.g.`Packages/Sites/Foo.Bar`) and run following command:

```
composer require carbon/primarycontent --no-update
```

The `--no-update` command prevent the automatic update of the dependencies. After the package was added to your theme `composer.json`, go back to the root of the Neos installation and run `composer update`. Et voilà! Your desired package is now installed correctly.

To install the package under Neos 3.\* you have to enter

```
composer require "carbon/primarycontent:^1.0" --no-update
```

License
-------

[](#license)

Licensed under MIT, see [LICENSE](LICENSE)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~73 days

Recently: every ~268 days

Total

20

Last Release

1508d ago

Major Versions

1.0.2 → 2.0.02018-07-12

1.0.4 → 2.0.22018-07-17

1.0.5 → 2.0.32018-09-06

v1.x-dev → 2.1.02018-09-19

2.1.0 → 3.0.02019-01-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fec51ac160a110a31a72a54ac29e276a447d8306205a052d35491ac9cf0589b?d=identicon)[jonnitto](/maintainers/jonnitto)

---

Top Contributors

[![jonnitto](https://avatars.githubusercontent.com/u/4510166?v=4)](https://github.com/jonnitto "jonnitto (25 commits)")

---

Tags

carboncontentneoscmshelpercontentcarbonflowNeosFUSION

### Embed Badge

![Health badge](/badges/carbon-primarycontent/health.svg)

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

###  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)
