PHPackages                             kunoichi/icon - 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. kunoichi/icon

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

kunoichi/icon
=============

A icon toolset for WordPress

1.0.4(2y ago)13.6k[2 issues](https://github.com/kuno1/icon/issues)GPL-3.0-or-laterJavaScriptPHP &gt;=5.6

Since Dec 6Pushed 2y agoCompare

[ Source](https://github.com/kuno1/icon)[ Packagist](https://packagist.org/packages/kunoichi/icon)[ RSS](/packages/kunoichi-icon/feed)WikiDiscussions master Synced 6d ago

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

icon
====

[](#icon)

An icon communicator for WordPress. You can include **Icon Block** and **Inline Icon** in your block editor.

Supported Icons
---------------

[](#supported-icons)

- Dashicons
- Font Awesome 5

You can add your original icons.

Core Concept
------------

[](#core-concept)

This library will parse and grab the icon names from your web font CSS. If you like to choose your iconsets(e.g. for performance), customize your web-font CSS.

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

[](#installation)

Use composer.

```
composer require kunoich/icon
```

From your theme or plugin's boostrap file, include `autoloader.php`.

```
require __DIR__ . '/vendor/autoload.php';
```

Then enable icon blocks.

```
Kunoichi\Icon\Manager::register();
```

Customize
---------

[](#customize)

### Create Your Own

[](#create-your-own)

Each font are parsed by a class which inherits `Kunoichi\Icon\Pattern\IconSet`.

You have to parse CSS by your self. For details, see `Kunoichi\Icon\Iconsets\Dashicons` and do what it does.

Before `Manager::register`, just make new instance of your class.

```
new YourIconSets( 'path/to/your/icon.css' );
Kunoichi\Icon\Manager::register();
```

For Font Awesome 5 Pro, see `Kunoichi\Icon\Iconsets\FontAwesomeSolid` for your information. It parses SVG :)

### Remove Defaults

[](#remove-defaults)

If you don't use some of default icons(e.g. dashicons), pass argument for exclude list.

```
Kunoichi\Icon\Manager::register( [ 'dashicons' => false ] );
```

Thus, no dashicons will be listed.

License
-------

[](#license)

GPL 3.0 or later. Font Awesome is under [Font Awesome Free License](https://fontawesome.com/license/free).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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 ~320 days

Recently: every ~127 days

Total

6

Last Release

753d ago

Major Versions

0.8.0 → 1.0.02022-12-02

PHP version history (2 changes)0.8.0PHP ^7.0|^5.6

1.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/84587?v=4)[Takahashi Fumiki](/maintainers/fumikito)[@fumikito](https://github.com/fumikito)

---

Top Contributors

[![fumikito](https://avatars.githubusercontent.com/u/84587?v=4)](https://github.com/fumikito "fumikito (14 commits)")[![waviaei](https://avatars.githubusercontent.com/u/1564991?v=4)](https://github.com/waviaei "waviaei (8 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kunoichi-icon/health.svg)

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

PHPackages © 2026

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