PHPackages                             titledk/silverstripe-bodycssclasses - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. titledk/silverstripe-bodycssclasses

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

titledk/silverstripe-bodycssclasses
===================================

Helper for page / controller specific styling

12401PHP

Since Jan 10Pushed 10y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

silverstripe-bodycssclasses
===========================

[](#silverstripe-bodycssclasses)

Helper for page / controller specific styling, adding the class and parent classes of your pages to your body element. E.g. a `CustomCalendarPage` that extends `CalendarPage`would produce `CustomCalendarPage CalendarPage`.

That way any specific styles for `CalendarPage` will also apply for `CustomCalendarPage`.

Installation
------------

[](#installation)

Install via composer and add `$BodyCssClasses` to your body or, wherever you want it.

E.g.:

```

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

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/13746b594daa08825bdaeea495edaa9e8868cb9e352f929e0c617e72b4cbde70?d=identicon)[titledk](/maintainers/titledk)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/titledk-silverstripe-bodycssclasses/health.svg)

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

PHPackages © 2026

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