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 1mo ago

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 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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

1109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0c4c2e910a7d2e4fd8cf1e4a2392d2c54622ae5ab12e8b338422d404fa8f21a?d=identicon)[kleisli](/maintainers/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

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M61](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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