PHPackages                             ttree/fusion-dynamicstyles - 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. ttree/fusion-dynamicstyles

ActiveNeos-package

ttree/fusion-dynamicstyles
==========================

A Neos Fusion custom meta handler to extract dynamic stylesheet during page rendering

316PHP

Since Jan 28Pushed 9y ago4 watchersCompare

[ Source](https://github.com/ttreeagency/Fusion.DynamicStyles)[ Packagist](https://packagist.org/packages/ttree/fusion-dynamicstyles)[ RSS](/packages/ttree-fusion-dynamicstyles/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Dynamic Styles
==============

[](#dynamic-styles)

This package contains Fusion objects to extract dynamic stylesheet during page rendering.

*Warning*: The current Fusion implementation does not support this feature, so this package [require this Pull Request](https://github.com/neos/neos-development-collection/pull/1402)

It's common to have complex components that are used only on a few pages. With this plugin you can nicely define in your Fusion object when you need a specific stylesheets for the the current Fusion object.

Configure your Fusion objects
-----------------------------

[](#configure-your-fusion-objects)

```
prototype(WebStarter:Object.PersonList) < prototype(Fusion:Template) {
    templatePath = 'resource://Ttree.SwissConfederation.WebStarter/Private/Templates/PersonList.html'
    @css         = 'resource://Ttree.SwissConfederation.WebStarter/Private/Stylesheets/PersonList.css'
}

```

Configure your document to inline the CSS during page rendering
---------------------------------------------------------------

[](#configure-your-document-to-inline-the-css-during-page-rendering)

```
prototype(Neos.Neos:Page).@process.styles = Ttree.Fusion.DynamicStyles:InlineStyles

```

Configure your document to build a minified external CSS with all the CSS used in the current page
--------------------------------------------------------------------------------------------------

[](#configure-your-document-to-build-a-minified-external-css-with-all-the-css-used-in-the-current-page)

```
prototype(Neos.Neos:Page).@process.styles = Ttree.Fusion.DynamicStyles:ExternalStyles

```

What's next ?
-------------

[](#whats-next-)

- Fusion object to inline external CSS resource (inline)
- CSS minification
- Add a Fusion object to include external CSS resource
- More inteligent build process (css ordering, ...)
- Add more configuration (minification, concatenation, compression, ..)
- Generate the CSS name automatically based on the prototype name (pluggable)
- Concatenation
- Gzip

Acknowledgments
---------------

[](#acknowledgments)

Development sponsored by [ttree ltd - neos solution provider](http://ttree.ch).

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (9 commits)")

### Embed Badge

![Health badge](/badges/ttree-fusion-dynamicstyles/health.svg)

```
[![Health](https://phpackages.com/badges/ttree-fusion-dynamicstyles/health.svg)](https://phpackages.com/packages/ttree-fusion-dynamicstyles)
```

PHPackages © 2026

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