PHPackages                             heyday/silverstripe-composeparser - 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. [Templating &amp; Views](/categories/templating)
4. /
5. heyday/silverstripe-composeparser

ActiveSilverstripe-module[Templating &amp; Views](/categories/templating)

heyday/silverstripe-composeparser
=================================

Adds new syntax to SilverStripe's template engine

0.1.1(12y ago)65.2k11MITPHP

Since Nov 27Pushed 10y ago27 watchersCompare

[ Source](https://github.com/heyday/silverstripe-composeparser)[ Packagist](https://packagist.org/packages/heyday/silverstripe-composeparser)[ RSS](/packages/heyday-silverstripe-composeparser/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (3)Used By (1)

SilverStripe Compose Parser
===========================

[](#silverstripe-compose-parser)

Allows the use of an html-like syntax for template includes, and new composition functionality for more reusable templates.

Installation (with composer)
----------------------------

[](#installation-with-composer)

```
composer require heyday/silverstripe-composeparser

```

Examples
--------

[](#examples)

### A reusable button

[](#a-reusable-button)

`button.ss`

```

```

#### Using the button in a template

[](#using-the-button-in-a-template)

```
A regular button

A link to heyday
```

#### The resulting html

[](#the-resulting-html)

```
A regular button

A link to heyday
```

### A reusable Nav

[](#a-reusable-nav)

`nav.ss`

```

```

`navitem.ss`

```

```

`navlink.ss`

```
$MenuTitle
```

#### Using the nav

[](#using-the-nav)

```
Simple usage:

Customised usage:

```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity54

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

Every ~207 days

Total

2

Last Release

4391d ago

### Community

Maintainers

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

---

Top Contributors

[![camspiers](https://avatars.githubusercontent.com/u/51294?v=4)](https://github.com/camspiers "camspiers (12 commits)")

### Embed Badge

![Health badge](/badges/heyday-silverstripe-composeparser/health.svg)

```
[![Health](https://phpackages.com/badges/heyday-silverstripe-composeparser/health.svg)](https://phpackages.com/packages/heyday-silverstripe-composeparser)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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