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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

contenir/contenir-brand
=======================

Contenir brand head tags — favicon set + theme/brand colours

v0.1.0(1mo ago)021BSD-3-ClausePHPPHP ^8.1

Since Jun 24Pushed 1mo agoCompare

[ Source](https://github.com/contenir/contenir-brand)[ Packagist](https://packagist.org/packages/contenir/contenir-brand)[ Docs](https://contenir.com.au)[ RSS](/packages/contenir-contenir-brand/feed)WikiDiscussions main Synced 2w ago

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

contenir/contenir-brand
=======================

[](#contenircontenir-brand)

Brand head tags for Contenir/Laminas MVC sites — the favicon `` set plus theme/tile colour ``, driven by the `site.brand` Branding settings the CMS writes.

Install
-------

[](#install)

```
composer require contenir/contenir-brand
```

The Laminas component installer registers the `Contenir\Brand` module automatically (it only provides view helpers — no routes or services).

Usage
-----

[](#usage)

Replace the hand-built favicon block in your head/meta partial with:

```

```

`FaviconTags` is **file-existence driven**: it probes the web root and emits a `` only for the icons that actually exist, so one helper serves both the modern RealFaviconGenerator set (`favicon.svg`, `favicon-96x96.png`) and the legacy set (`favicon-16x16.png`, `favicon-32x32.png`, `safari-pinned-tab.svg`). It always emits ``, and `msapplication-TileColor` / `mask-icon color` when those colours are configured.

Settings
--------

[](#settings)

```
'site' => [
    'brand' => [
        'theme_color' => '#ffffff', //
        'tile_color'  => '#da532c', // optional —
        'mask_color'  => '#5bbad5', // optional —
    ],
],
```

Icon files are expected at the web root (`public/`): `favicon.ico`, `favicon.svg`, `favicon-16x16.png`/`-32x32`/`-48x48`/`-96x96`, `apple-touch-icon.png`, `safari-pinned-tab.svg`, `site.webmanifest`. Generate them from a single source in the Contenir CMS Branding panel.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f377cb072a13f76c1b06d272c1f21f41903b3a90d9e1c5c6d928a955fe815441?d=identicon)[peptolab](/maintainers/peptolab)

---

Top Contributors

[![simon-mundy](https://avatars.githubusercontent.com/u/46739456?v=4)](https://github.com/simon-mundy "simon-mundy (1 commits)")

---

Tags

laminasmvcfaviconbrandcontenir

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[neilime/twbs-helper-module

Laminas (formerly Zend Framework) module for easy integration of Twitter Bootstrap

21108.2k](/packages/neilime-twbs-helper-module)

PHPackages © 2026

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