PHPackages                             nthmedia/cp-site-icons - 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. nthmedia/cp-site-icons

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

nthmedia/cp-site-icons
======================

Display site icon when editing entries

3.1.0(4mo ago)13.4kMITPHPPHP ^8.0

Since Oct 23Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/nthmedia/cp-site-icons)[ Packagist](https://packagist.org/packages/nthmedia/cp-site-icons)[ RSS](/packages/nthmedia-cp-site-icons/feed)WikiDiscussions v3 Synced 3w ago

READMEChangelog (10)Dependencies (4)Versions (17)Used By (0)

CP Site Icons plugin for Craft CMS
==================================

[](#cp-site-icons-plugin-for-craft-cms)

Display site icon when editing entries, to be able to distinguish between different sites.

[![Screenshot](resources/img/screenshot.png)](resources/img/screenshot.png)

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

[](#requirements)

This plugin requires Craft CMS 5.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require nthmedia/cp-site-icons

    ```
3. In the Control Panel, go to Settings → Plugins and click the "Install" button for CP Site Icons. Or enable it through the command line:

    ```
     ./craft plugin/install cp-site-icons

    ```
4. You can choose if you want the site handle or site language as key to distinguish your sites. This key is also the key of the icons array in the config.
5. Create `/config/cp-site-icons.php` and add your configuration.

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

[](#configuration)

### Basic example with emoji flags

[](#basic-example-with-emoji-flags)

```
