PHPackages                             carbon/filecontent - 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/filecontent

Abandoned → [carbon/eel](/?search=carbon%2Feel)ArchivedNeos-carbon[Utility &amp; Helpers](/categories/utility)

carbon/filecontent
==================

Include file content helper for Neos CMS

1.1.3(8y ago)03.7k1MIT

Since Dec 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/CarbonPackages/Carbon.FileContent)[ Packagist](https://packagist.org/packages/carbon/filecontent)[ RSS](/packages/carbon-filecontent/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (8)Dependencies (1)Versions (10)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/26c4b78a2b402645dac77b644b7ca9d3eb88e724d36a52447687747e5ced0d2d/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f66696c65636f6e74656e742f762f737461626c65)](https://packagist.org/packages/carbon/filecontent)[![Total Downloads](https://camo.githubusercontent.com/22cdfe64799e98a2a73ab01de162cdf5a298cde35e6796470de25d14a1447585/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f66696c65636f6e74656e742f646f776e6c6f616473)](https://packagist.org/packages/carbon/filecontent)[![License](https://camo.githubusercontent.com/d7879912e8179de56bc69f8055360834332cad26ba0192bbf1acf90714d62f8a/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f66696c65636f6e74656e742f6c6963656e7365)](LICENSE)[![GitHub forks](https://camo.githubusercontent.com/e9f3aed0ed8dca61cb020f66bcbb0d08795970735ab0fdd82b9b3b78efeaeed6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f436172626f6e5061636b616765732f436172626f6e2e46696c65436f6e74656e742e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/CarbonPackages/Carbon.FileContent/fork)[![GitHub stars](https://camo.githubusercontent.com/ef6b3f0c6877ba34d9b793d6a5b401859d510205434c6c87493f01f0b676b8ea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f436172626f6e5061636b616765732f436172626f6e2e46696c65436f6e74656e742e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://github.com/CarbonPackages/Carbon.FileContent/stargazers)[![GitHub watchers](https://camo.githubusercontent.com/67e11473023a917e60be7b33ba35938b29d21a19ad17c106b8626f3827d35dc4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f436172626f6e5061636b616765732f436172626f6e2e46696c65436f6e74656e742e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/CarbonPackages/Carbon.FileContent/subscription)

Carbon.FileContent Package for Neos CMS
=======================================

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

**Deprecated. Please use [Carbon.Eel](https://github.com/CarbonPackages/Carbon.Eel#filecontent-helper)**

VersionNeos0.5\*2.\*&gt; 1.13.\* + 4.\*Fusion Prototypes
-----------------

[](#fusion-prototypes)

### [Carbon.FileContent:FileContent](Resources/Private/Fusion/FileContent.fusion)

[](#carbonfilecontentfilecontent)

This prototype read a file from a `path` or `resource`. Used for including the files inline.

### [Carbon.FileContent:HashOfFile](Resources/Private/Fusion/HashOfFile.fusion)

[](#carbonfilecontenthashoffile)

This prototype read a file from a `path` or `resource` and return a md5 based string.

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

[](#installation)

Most of the time you have to make small adjustments to a package (e.g., the 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/filecontent --no-update
```

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

```
composer require "carbon/filecontent:^0.5"--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.

License
-------

[](#license)

Licensed under MIT, see [LICENSE](LICENSE)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

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

Recently: every ~6 days

Total

8

Last Release

2976d ago

Major Versions

0.5.0 → 1.1.22018-05-29

0.5.2 → 1.1.32018-06-22

### 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 (12 commits)")

---

Tags

carbonneoscmspackagehelpercarbonflowNeosFUSION

### Embed Badge

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

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

###  Alternatives

[carbon/includeassets

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

14237.5k15](/packages/carbon-includeassets)

PHPackages © 2026

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