PHPackages                             raffaelj/cockpit-whitelabel - 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. raffaelj/cockpit-whitelabel

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

raffaelj/cockpit-whitelabel
===========================

Custom logo and custom colours for Cockpit CMS

0.1.1(5y ago)874MITPHP

Since Aug 15Pushed 3y ago2 watchersCompare

[ Source](https://github.com/raffaelj/cockpit_WhiteLabel)[ Packagist](https://packagist.org/packages/raffaelj/cockpit-whitelabel)[ Docs](https://github.com/raffaelj/cockpit_WhiteLabel)[ RSS](/packages/raffaelj-cockpit-whitelabel/feed)WikiDiscussions master Synced yesterday

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

WhiteLabel
==========

[](#whitelabel)

**This addon is not compatible with Cockpit CMS v2.**

See also [Cockpit CMS v1 docs](https://v1.getcockpit.com/documentation), [Cockpit CMS v1 repo](https://github.com/agentejo/cockpit) and [Cockpit CMS v2 docs](https://getcockpit.com/documentation/), [Cockpit CMS v2 repo](https://github.com/Cockpit-HQ/Cockpit).

---

Custom logo and custom colours for [Cockpit CMS](https://github.com/agentejo/cockpit/). Maybe I'll add some more options in the future.

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

[](#installation)

Copy this repository into `/addons` and name it `WhiteLabel` or

```
cd path/to/cockpit
git clone https://github.com/raffaelj/cockpit_WhiteLabel.git addons/WhiteLabel
```

Configuration
-------------

[](#configuration)

Upload an image, copy it's url and set a config variable in `config/config.yaml` or `config/config.php`.

```
whitelabel:
    logo: "#uploads:2019/11/08/5dc548b41c0cdlogo.png"
    logoWidth: 8em    # optional, default: 30px
    logoHeight: 3em   # optional, default: 30px
    hideName: true    # hide app name
    colors:
        - #ff0000
        - #00ff00
        - #0000ff
```

```
return [
    'whitelabel' => [
        'logo'       => '#uploads:2019/11/08/5dc548b41c0cdlogo.png',
        'logoWidth'  => '8em',   # optional, default: 30px
        'logoHeight' => '3em',   # optional, default: 30px
        'hideName'   => true,    # hide app name
        'colors' => [
            '#ff0000',
            '#00ff00',
            '#0000ff',
        ],
    ];
];
```

I didn't write a user interface, because normally you do this task once and forget about it.

The logo url can be in the following formats

- internal paths (my favourite, because it works on local and production host without changes)
    - `#uploads:2019/11/08/5dc548b41c0cdlogo.png`
    - `assets:app/media/icons/code.svg`
- full url
    - `https://example.com/storage/uploads/2019/11/08/5dc548b41c0cdlogo.png`
    - `https://example.com/logo.png`
- relative path to site url
    - `/logo.png`
- full path
    - `/var/www/virtual/username/html/storage/uploads/2019/11/08/5dc548b41c0cdlogo.png`
    - `/var/www/virtual/username/html/logo.png`

The colors are used for the custom color picker in the settings of collections, forms and singletons.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2096d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

cockpitwhite-labelcustom colours

### Embed Badge

![Health badge](/badges/raffaelj-cockpit-whitelabel/health.svg)

```
[![Health](https://phpackages.com/badges/raffaelj-cockpit-whitelabel/health.svg)](https://phpackages.com/packages/raffaelj-cockpit-whitelabel)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)[winter/wn-seo-plugin

Winter CMS plugin for managing SEO tags

106.3k](/packages/winter-wn-seo-plugin)

PHPackages © 2026

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