PHPackages                             adrexia/brand - 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. [Admin Panels](/categories/admin)
4. /
5. adrexia/brand

ActiveSilverstripe-module[Admin Panels](/categories/admin)

adrexia/brand
=============

Branding and basic site theming admin for silverstripe

2.0(8y ago)71304BSD-3-ClausePHP

Since May 8Pushed 8y agoCompare

[ Source](https://github.com/adrexia/silverstripe-brand)[ Packagist](https://packagist.org/packages/adrexia/brand)[ RSS](/packages/adrexia-brand/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

Silverstripe Brand module
=========================

[](#silverstripe-brand-module)

A module to assist with a website's basic branding. Allows setting of brand colours and fonts from within a Silverstripe Admin.

Requirements
------------

[](#requirements)

SilverStripe 4 or higher. See 3.0 branch for SilverStripe 3 support

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

[](#installation)

`composer require adrexia/brand`

Setup
-----

[](#setup)

You can either just include the Favicons, and apply the colour schemes manually: ``

Or, include the brand template in the head of you page template to get both:
``

By default this includes the fonts, the font-colors, and the favicons. The Menu colours are left for you to implement, or disable based on your site's requirements. The Palette colours are for use on other page types, or for custom theming. For example, they can be used to add a restricted colourpalette to a page (with the help of the Color Palette module):

```
$brand = Brand::get()->First();

if($brand) {
    $fields->insertAfter(
        ColorPaletteField::create(
            "Color", "Color", $brand->getFullPalette()
        ), "Intro"
    );
}

```

There is an extension 'BrandDataObjectExtension' included for this purpose which adds a brand colour, a contrast colour, and an image. To enable it, add this to your \_config.yml file:

```
Page:
  extensions:
   - Adrexia\Brand\BrandDataObjectExtension

```

The other variables provided can be called in a template with:
`$Brand.Logo`
`$Brand.BodyBackgroundColour`

To get the hex value of a colour from a colourpalette in your template you can do something like this:

```
$Brand.getHex($Colour)$Brand.getHex($Level(1).Colour)

```

Subsite support
---------------

[](#subsite-support)

NOTE: Subsite support isn't yet complete for silverstripe 4

This module can work with subsites with the addition of the SubsiteModelExtension from adrexia/subsite-modeladmins (specifically, the onBeforeWrite and augmentSQL functions). You can install this via composer require, or just take the bits you need:

`composer require adrexia/subsite-modeladmins`

### Setup:

[](#setup-1)

In your yml config:

```
Adrexia\Brand\Brand:
  extensions:
   - SubsiteModelExtension
Adrexia\Brand\BrandAdmin
  extensions:
   - SubsiteMenuExtension

```

The brand extension is supplied by the subsite modeladmin module. The BrandAdmin extension is straight from the subsites module, and enables the menu item in the CMS menu.

Screenshots
-----------

[](#screenshots)

[![](images/screenshots/colours.png)](images/screenshots/colours.png)

[![](images/screenshots/fonts.png)](images/screenshots/fonts.png)

[![](images/screenshots/images.png)](images/screenshots/images.png)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~240 days

Total

4

Last Release

2985d ago

Major Versions

1.0 → 2.02017-08-24

1.0.1 → 3.0.x-dev2018-04-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/984753?v=4)[Naomi Guyer](/maintainers/adrexia)[@adrexia](https://github.com/adrexia)

---

Top Contributors

[![adrexia](https://avatars.githubusercontent.com/u/984753?v=4)](https://github.com/adrexia "adrexia (13 commits)")[![zanderwar](https://avatars.githubusercontent.com/u/13566916?v=4)](https://github.com/zanderwar "zanderwar (1 commits)")

---

Tags

silverstripe

### Embed Badge

![Health badge](/badges/adrexia-brand/health.svg)

```
[![Health](https://phpackages.com/badges/adrexia-brand/health.svg)](https://phpackages.com/packages/adrexia-brand)
```

###  Alternatives

[silverstripe/admin

SilverStripe admin interface

262.7M375](/packages/silverstripe-admin)[colymba/gridfield-bulk-editing-tools

Silverstripe CMS GridField component to upload images/files and edit records in bulk

88689.3k41](/packages/colymba-gridfield-bulk-editing-tools)[stevie-mayhew/hasoneedit

Allows editing the fields of a has\_one object directly in the CMS

21253.1k11](/packages/stevie-mayhew-hasoneedit)[plastyk/dashboard

An extendable dashboard for Silverstripe

2044.2k2](/packages/plastyk-dashboard)

PHPackages © 2026

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