Download the PHP package kunoichi/icon without Composer
On this page you can find all versions of the php package kunoichi/icon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kunoichi/icon
More information about kunoichi/icon
Files in kunoichi/icon
Package icon
Short Description A icon toolset for WordPress
License GPL-3.0-or-later
Informations about the package icon
icon
An icon communicator for WordPress. You can include Icon Block and Inline Icon in your block editor.
Supported Icons
- Dashicons
- Font Awesome 5
You can add your original icons.
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
Use composer.
From your theme or plugin's boostrap file, include autoloader.php
.
Then enable icon blocks.
Customize
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.
For Font Awesome 5 Pro, see Kunoichi\Icon\Iconsets\FontAwesomeSolid
for your information.
It parses SVG :)
Remove Defaults
If you don't use some of default icons(e.g. dashicons), pass argument for exclude list.
Thus, no dashicons will be listed.
License
GPL 3.0 or later. Font Awesome is under Font Awesome Free License.
All versions of icon with dependencies
kunoichi/bootstrapress Version ^1.0.2
hametuha/singleton-pattern Version ^1.2
yoast/phpunit-polyfills Version ^1.0