PHPackages                             carlcs/craft-redactoriconbuttons - 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. carlcs/craft-redactoriconbuttons

ActiveCraft-plugin

carlcs/craft-redactoriconbuttons
================================

Redactor Icon Buttons plugin for Craft CMS

v1.0.1(9y ago)10221[1 issues](https://github.com/carlcs/craft-redactoriconbuttons/issues)PHPPHP &gt;=5.4.0

Since Jul 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/carlcs/craft-redactoriconbuttons)[ Packagist](https://packagist.org/packages/carlcs/craft-redactoriconbuttons)[ RSS](/packages/carlcs-craft-redactoriconbuttons/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Redactor Icon Buttons plugin for Craft CMS
==========================================

[](#redactor-icon-buttons-plugin-for-craft-cms)

[![Redactor Icon Buttons](https://github.com/carlcs/craft-redactoriconbuttons/raw/master/resources/screenshot.png)](https://github.com/carlcs/craft-redactoriconbuttons/blob/master/resources/screenshot.png)

This plugin allows to replace the text buttons with icons in the Redactor editor toolbar in Craft CMS.

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

[](#installation)

The plugin is available on Packagist and can be installed using Composer. You can also download the [latest release](https://github.com/carlcs/craft-redactoriconbuttons/releases/latest) and copy the files into craft/plugins/redactoriconbuttons/.

```
$ composer require carlcs/craft-redactoriconbuttons

```

Enable the plugin in your [Redactor config files](https://craftcms.com/docs/rich-text-fields#redactor-configs) stored in craft/config/redactor/ by adding `iconbuttons` to the `plugins` setting. Make sure you have a config file in your Redactor field settings selected where the plugin is enabled.

Icon Sets
---------

[](#icon-sets)

The icon set the plugin uses by default contains a collection of icons from the Redactor 10 editor and some handcrafted icons to complement the set.

If you want to use a custom icon set, create a folder craft/config/redactoriconbuttons/ and add a SVG sprite named icons.svg to it. You can now use the `iconMapping` config setting to map symbols contained in the SVG to individual buttons.

The plugin includes an example file with icons from the [Google Material icon set](https://design.google.com/icons/) in the [\_examples/](_examples/) folder, the file was created with the [Icomoon App](https://icomoon.io/app).

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

[](#configuration)

The plugin is pre-configured for Redactor’s default buttons. To customize it, create a new [plugin configuration file](https://craftcms.com/docs/plugins/plugin-settings#config-file) in the craft/config/ folder named redactoriconbuttons.php, which returns an array of settings.

- **`iconMapping`** ([see defaults](config.php)) – Maps buttons to icons. The setting expects an array of key-value pairs that map a button’s index (inspect the “rel” attribute in the toolbar!) to the symbol ID of an icon in the SVG sprite.
- **`ieShim`** (default `true`) – Adds external spritemap support for IE9+ and Edge 12.

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

[](#requirements)

- PHP 5.4 or later
- Craft CMS 2.5 or later

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Every ~1 days

Total

2

Last Release

3589d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7516543?v=4)[carlcs](/maintainers/carlcs)[@carlcs](https://github.com/carlcs)

---

Top Contributors

[![carlcs](https://avatars.githubusercontent.com/u/7516543?v=4)](https://github.com/carlcs "carlcs (10 commits)")

### Embed Badge

![Health badge](/badges/carlcs-craft-redactoriconbuttons/health.svg)

```
[![Health](https://phpackages.com/badges/carlcs-craft-redactoriconbuttons/health.svg)](https://phpackages.com/packages/carlcs-craft-redactoriconbuttons)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

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

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3164.5k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

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