PHPackages                             zauberfisch/silverstripe-namespace-templates - 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. zauberfisch/silverstripe-namespace-templates

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

zauberfisch/silverstripe-namespace-templates
============================================

SilverStripe module to ease the use of templates for classes with namespaces in SilverStripe 3

v1.1.0(8y ago)11801BSD-3-ClausePHP

Since Aug 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Zauberfisch/silverstripe-namespace-templates)[ Packagist](https://packagist.org/packages/zauberfisch/silverstripe-namespace-templates)[ RSS](/packages/zauberfisch-silverstripe-namespace-templates/feed)WikiDiscussions master Synced yesterday

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

SilverStripe 3 Namespaced Templates
===================================

[](#silverstripe-3-namespaced-templates)

SilverStripe module to ease the use of templates for classes with namespaces in SilverStripe 3

```
>>> \zauberfisch\NamespaceTemplates\View\SSViewer::get_templates_by_class('zauberfisch\NamespaceTemplates\Form\CompositeField', '', 'FormField');
[
    'zauberfisch-NamespaceTemplates-Form-CompositeField',
    'NamespaceTemplates-Form-CompositeField',
    'CompositeField',
    'FormField',
]

# class foo\bar\Class1 extends foo\bar\Class2
# class foo\bar\Class2 extends foo\Class3
# class foo\Class3 extends ViewableData

>>> \zauberfisch\NamespaceTemplates\View\SSViewer::get_templates_by_class('foo\bar\Class1', '', 'ViewableData');
[
    'foo-bar-Class1',
    'bar-Class1', // stripped potential vendor prefix
    'foo-bar-Class2',
    'bar-Class2', // stripped potential vendor prefix
    'foo-Class3',
    'class3', // stripped potential vendor prefix
    'ViewableData',
]

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3039d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/186158?v=4)[zauberfisch](/maintainers/zauberfisch)[@Zauberfisch](https://github.com/Zauberfisch)

---

Top Contributors

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

---

Tags

silverstripetemplateformnamespaceformfieldrenderssviewer

### Embed Badge

![Health badge](/badges/zauberfisch-silverstripe-namespace-templates/health.svg)

```
[![Health](https://phpackages.com/badges/zauberfisch-silverstripe-namespace-templates/health.svg)](https://phpackages.com/packages/zauberfisch-silverstripe-namespace-templates)
```

###  Alternatives

[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)[phug/phug

Pug (ex-Jade) facade engine for PHP, HTML template engine structured by indentation

67292.2k13](/packages/phug-phug)[symbiote/silverstripe-listingpage

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

1012.7k2](/packages/symbiote-silverstripe-listingpage)

PHPackages © 2026

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