PHPackages                             suilven/template-env-checker - 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. suilven/template-env-checker

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

suilven/template-env-checker
============================

Adds ability to check environment from within a template.

1.0.3(7y ago)023BSD-3-ClausePHPPHP &gt;=5.6.0

Since Sep 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gordonbanderson/silverstripe-template-env-checker)[ Packagist](https://packagist.org/packages/suilven/template-env-checker)[ Docs](https://github.com/suilven/template-env-checker)[ RSS](/packages/suilven-template-env-checker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Template Environment Checker
============================

[](#template-environment-checker)

Usage
-----

[](#usage)

In a template, the following methods are available to check the environment

- `IsDev`
- `IsTest`
- `IsLive`

The use case the drove the creation of this module is one of whether to serve individual or compressed assets.

```

```

Issues
------

[](#issues)

Please use the \[GitHub issue tracker\]\[issues\] for bug reports and feature requests.

Contribution
------------

[](#contribution)

Your contributions are gladly welcomed to help make this project better. Please see [contributing](CONTRIBUTING.md) for more information.

Maintainers
-----------

[](#maintainers)

[Gordon Anderson](https://github.com/gordonbanderson)

License
-------

[](#license)

[BSD-3-Clause](LICENSE.md) © Gordon Anderson

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

4

Last Release

2794d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/770fae946ca5ca8f0f1f0179462c84d3ca60e9bd32cac3f522fdb64c2e384789?d=identicon)[suilven](/maintainers/suilven)

---

Top Contributors

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

---

Tags

silverstripetemplateenvironment

### Embed Badge

![Health badge](/badges/suilven-template-env-checker/health.svg)

```
[![Health](https://phpackages.com/badges/suilven-template-env-checker/health.svg)](https://phpackages.com/packages/suilven-template-env-checker)
```

###  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)[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[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)
