PHPackages                             bigfork/silverstripe-template-yield - 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. bigfork/silverstripe-template-yield

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

bigfork/silverstripe-template-yield
===================================

Adds yield functionality to Silverstripe templates

4.0.0(8mo ago)11.4k↓50%BSD-3-ClausePHPPHP ^8

Since Jun 10Pushed 8mo ago3 watchersCompare

[ Source](https://github.com/bigfork/silverstripe-template-yield)[ Packagist](https://packagist.org/packages/bigfork/silverstripe-template-yield)[ RSS](/packages/bigfork-silverstripe-template-yield/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (11)Used By (0)

Silverstripe template yield
===========================

[](#silverstripe-template-yield)

Adds support for `` and `` tags to Silverstripe.

⚠️ this is a proof of concept built by using HTTP middleware to perform string replacements in order to work around missing extension hooks. See the [limitations](#limitations) section for more info.

Usage examples
--------------

[](#usage-examples)

You can "yield" content that’s provided by section tags that exist in any templates in the current render process.

```

        ...
```

You can also offer fallback content:

```

        Some default meta title

```

There are also inline (“open”) tags which are useful for yielding things like CSS classes:

```

    ... etc

```

As above, you can offer a fallback for inline tags too:

```

```

Limitations
-----------

[](#limitations)

Due to there not yet being suitable hooks in place in Silverstripe core, this has the following limitations:

- This only works for templates that are returned via an HTTP request, as it relies on HTTP middleware to inject the yielded content. If you need to use this for other content (e.g. emails or server-side rendering) you will need to call `BlockProvider::yieldIntoString()` yourself
- While nested sections/yields appear to work, these haven’t been thoroughly tested

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance62

Regular maintenance activity

Popularity20

Limited adoption so far

Community8

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

Recently: every ~286 days

Total

10

Last Release

262d ago

Major Versions

1.x-dev → 2.0.02022-07-01

2.x-dev → 3.0.02024-11-12

3.x-dev → 4.0.02025-08-20

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.0

4.0.0PHP ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203294386?v=4)[-&gt; lozcalver](/maintainers/kinglozzer)[@kinglozzer](https://github.com/kinglozzer)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bigfork-silverstripe-template-yield/health.svg)

```
[![Health](https://phpackages.com/badges/bigfork-silverstripe-template-yield/health.svg)](https://phpackages.com/packages/bigfork-silverstripe-template-yield)
```

###  Alternatives

[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[silverstripe/login-forms

A collection of templates for the CMS login screens

191.3M26](/packages/silverstripe-login-forms)[stevie-mayhew/silverstripe-svg

Basic SVG support for SilverStripe

23326.5k4](/packages/stevie-mayhew-silverstripe-svg)[rywa/silverstripe-foundation

Foundation 5 Prototyping Theme for SilverStripe

392.6k](/packages/rywa-silverstripe-foundation)[symbiote/silverstripe-listingpage

A module that allows CMS users to create templated listing pages.

1012.7k2](/packages/symbiote-silverstripe-listingpage)[rywa/silverstripe-foundation-forms

Add ZURB Foundation framework forms compatibility to SilverStripe 3

126.4k](/packages/rywa-silverstripe-foundation-forms)

PHPackages © 2026

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