PHPackages                             kleisli/fusionfiles - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. kleisli/fusionfiles

ActiveNeos-package[File &amp; Storage](/categories/file-storage)

kleisli/fusionfiles
===================

Serve different file formats with Neos.Fusion

1.0.0(3y ago)141PHP

Since Apr 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Kleisli/FusionFiles)[ Packagist](https://packagist.org/packages/kleisli/fusionfiles)[ RSS](/packages/kleisli-fusionfiles/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Kleisli.FusionFiles
===================

[](#kleislifusionfiles)

Serve different file formats with Neos.Fusion

Available formats
-----------------

[](#available-formats)

- json
- ics
- pdf (with additional package Kleisli.FusionFiles.Pdf)

Json
----

[](#json)

To render a node `My.NodeType` as json, just add a fusion prototype `My.NodeType.Json` that extends `Kleisli.FusionFiles:File.Json` and add the json values to the data property.

### Eel helper

[](#eel-helper)

This package has its own eel helper `FusionFiles.Json` to jsonify, because the core eel helper fails to replace the Neos cache markers correctly.

### Example

[](#example)

```
prototype(My.App:Document.List.Json) < prototype(Kleisli.FusionFiles:File.Json) {
    data {
        value = 'ok'
        getValueFromPrototype = My.App:Component.ListAsArray
    }
}

```

on requesting  the response will be something like

```
{
    "value" : "ok",
    "getValueFromPrototype" : [
        {"id": "abc"},
        {"id": "def"}
    ]
}

```

Ics Event
---------

[](#ics-event)

Make nodes representing an event addable to calendars.

To render a node `My.Event` as ics, just add a fusion prototype `My.Event.Ics` that extends `Kleisli.FusionFiles:File.Ics.Event` and add the event properties to the data property.

### Example

[](#example-1)

```
prototype(My.App:Document.Event.Ics) < prototype(Kleisli.FusionFiles:File.Ics.Event) {
    data {
        startDateTime = ${node.properties.startDate}
        endDateTime = ${node.properties.endDate}
        title = ${node.properties.title}
    }
}

```

In the template of `My.Event` you can link the ICS file like:

```

    Add to calendar

```

Use the helpers for other file formats
--------------------------------------

[](#use-the-helpers-for-other-file-formats)

Add a `Request.fusion` file to your package with

```
root {
    // Hook into the root matcher to change rendering for fancy requests
    fancy = Kleisli.FusionFiles:Helper.RenderFileMatcher {
        fileExtension = 'fancy'
    }
}

```

to access the prototype

```
prototype(My.App:Document.List.Fancy) < prototype(Neos.Fusion:Component) {
    renderer = ''
}

```

via

Kudos
-----

[](#kudos)

The development of this package has significantly been funded by [Profolio](https://www.profolio.ch/) - a digital platform for career choice &amp; career counseling

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1164d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18674199?v=4)[Till Kleisli](/maintainers/kleisli)[@Kleisli](https://github.com/Kleisli)

---

Top Contributors

[![Kleisli](https://avatars.githubusercontent.com/u/18674199?v=4)](https://github.com/Kleisli "Kleisli (7 commits)")

---

Tags

neos-cmsneos-fusion

### Embed Badge

![Health badge](/badges/kleisli-fusionfiles/health.svg)

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

###  Alternatives

[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

1151.0M777](/packages/neos-neos)[neos/fusion-afx

JSX inspired compact syntax for Neos.Fusion

26984.8k63](/packages/neos-fusion-afx)[sandstorm/neostwofactorauthentication

1327.0k](/packages/sandstorm-neostwofactorauthentication)

PHPackages © 2026

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