PHPackages                             myjw3b/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. myjw3b/icons

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

myjw3b/icons
============

SVG Icons from Bootstrap and Iconmonster in a PHP class to use easily.

1.0.3(1y ago)0281MITPHP

Since Jun 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/myJW3B/Icons)[ Packagist](https://packagist.org/packages/myjw3b/icons)[ RSS](/packages/myjw3b-icons/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Icons
=====

[](#icons)

PHP class holding some bootstrap and iconmonstr svg icons

[iconmonstr](https://iconmonstr.com/) is the default icon pack that will be displayed.

Install
=======

[](#install)

```
composer require myjw3b/icons
```

How to use
==========

[](#how-to-use)

At the very top of your `php` page put::

```
use JW3B\gui;
$Icons = new Icons();
```

Then where you want to display a specific icon you can use the following code: (swap `ICON NAME` with an icon name that is available.)

```
echo $Icons->icon('ICON NAME')
```

You can see all the names available in the images below, but some new icons might have been added since I took the screenshots. You can also see the icon names by opening the files within the [list](list/) directory.

If you want to see all the current icons you can call the following function:

```
echo $Icons->view_all_icons();
```

You can change the size and the font family with the following code:

```
echo $Icons->change_family('bootstrap')->change_size(34)->icon('tools');
```

How to add new icons
====================

[](#how-to-add-new-icons)

You can edit the files within the [lists](lists/) directory. We can also add new families of icons if you wish. If you add new families or styles - non bootstrap or iconmonstr, you can add the file following the same pattern within the list folder, and then in the [Icons.php](classes/Icons.php) file, edit the `icon()` function, and then use the `bootstrap_icons()` and `monstr_icons()` as a reference for how to create whats needed within the class to add them.

If you do add new icons, please open a push request to update the package for everyone. Thanks!

[![Screenshot of available icons within JW3B\gui\Icons package](previews/JW3B-Icons-1.png)](previews/JW3B-Icons-1.png)[![Screenshot of available icons within JW3B\gui\Icons package](previews/JW3B-Icons-2.png)](previews/JW3B-Icons-2.png)[![Screenshot of available icons within JW3B\gui\Icons package](previews/JW3B-Icons-3.png)](previews/JW3B-Icons-3.png)[![Screenshot of available icons within JW3B\gui\Icons package](previews/JW3B-Icons-4.png)](previews/JW3B-Icons-4.png)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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 ~0 days

Total

4

Last Release

686d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c53f441885ec90d8d6e547f4c9023da12f10229c3848059e19b6aba9be1859a?d=identicon)[Yohn](/maintainers/Yohn)

---

Top Contributors

[![Yohn](https://avatars.githubusercontent.com/u/2002591?v=4)](https://github.com/Yohn "Yohn (23 commits)")

### Embed Badge

![Health badge](/badges/myjw3b-icons/health.svg)

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

PHPackages © 2026

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