PHPackages                             nerdroid23/blade-icomoon - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nerdroid23/blade-icomoon

ActiveLibrary[Templating &amp; Views](/categories/templating)

nerdroid23/blade-icomoon
========================

A package to easily make use of "IcoMoon" in your Laravel Blade views.

2.0.0(1y ago)368.4k↓19%3MITPHPPHP ^7.4|^8.0

Since May 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nerdroid23/blade-icomoon)[ Packagist](https://packagist.org/packages/nerdroid23/blade-icomoon)[ Docs](https://github.com/nerdroid23/blade-icomoon)[ GitHub Sponsors](https://github.com/nerdroid23)[ RSS](/packages/nerdroid23-blade-icomoon/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (8)Used By (0)

[![blade-icomoon.png](blade-icomoon.png)](blade-icomoon.png)

Blade IcoMoon
=============

[](#blade-icomoon)

[![Latest Version on Packagist](https://camo.githubusercontent.com/32aecc26d5a40bd395d918a6ae056d50f73fcd17cad63c1956cdb42e57e61d59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e657264726f696432332f626c6164652d69636f6d6f6f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdroid23/blade-icomoon)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d048f98643a95ef00290cee1dc9ba943c644597f6f5360504d34efdd21be75ba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e657264726f696432332f626c6164652d69636f6d6f6f6e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/nerdroid23/blade-icomoon/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4a86e253902d32ff9f635d5ff9aa9ba1160a00cd5e4286c0bc9d8773f1f6178e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e657264726f696432332f626c6164652d69636f6d6f6f6e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/nerdroid23/blade-icomoon/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/781aca005a3d4369101df5667205234bf891edd46fdbb1fcc9495737b311aa21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e657264726f696432332f626c6164652d69636f6d6f6f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdroid23/blade-icomoon)

A package to easily make use of [IcoMoon](https://icomoon.io) in your Laravel Blade views.

For a full list of available icons see [the SVG directory](./resources/svg).

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

[](#requirements)

- PHP 7.4 or higher
- Laravel 8.0 or higher

Install
-------

[](#install)

You can install the package via composer:

```
composer require nerdroid23/blade-icomoon
```

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

[](#configuration)

Blade IcoMoon also offers the ability to use features from Blade Icons like default classes, default attributes, etc. If you'd like to configure these, publish the `blade-icomoon.php` config file:

You can publish the config file with:

```
php artisan vendor:publish --provider="Nerdroid23\BladeIcomoon\BladeIcomoonServiceProvider" --tag="blade-icomoon-config"
```

This is the contents of the published config file:

```
return [

    /*
    |-----------------------------------------------------------------
    | Default Prefix
    |-----------------------------------------------------------------
    |
    | This config option allows you to define a default prefix for
    | your icons. The dash separator will be applied automatically
    | to every icon name. It's required and needs to be unique.
    |
    */

    'prefix' => 'icomoon',

    /*
    |-----------------------------------------------------------------
    | Fallback Icon
    |-----------------------------------------------------------------
    |
    | This config option allows you to define a fallback
    | icon when an icon in this set cannot be found.
    |
    */

    'fallback' => '',

    /*
    |-----------------------------------------------------------------
    | Default Set Classes
    |-----------------------------------------------------------------
    |
    | This config option allows you to define some classes which
    | will be applied by default to all icons within this set.
    |
    */

    'class' => '',

    /*
    |-----------------------------------------------------------------
    | Default Set Attributes
    |-----------------------------------------------------------------
    |
    | This config option allows you to define some attributes which
    | will be applied by default to all icons within this set.
    |
    */

    'attributes' => [
        // 'fill'   => 'currentColor',
        // 'width'  => 32,
        // 'height' => 32,
    ],

];
```

Usage
-----

[](#usage)

Icons can be used a self-closing Blade components which will be compiled to SVG icons:

```

```

You can also pass classes to your icon components:

```

```

And even use inline styles:

```

```

### Raw SVG Icons

[](#raw-svg-icons)

If you want to use the raw SVG icons as assets, you can publish them using:

```
php artisan vendor:publish --tag=blade-icomoon-icons --force
```

Then use them in your views like:

```

```

### Blade Icons

[](#blade-icons)

Blade IcoMoon uses Blade Icons under the hood. Please refer to [the Blade Icons readme](https://github.com/blade-ui-kit/blade-icons) for additional functionality.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Joe Sylnice](https://github.com/nerdroid23)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 67.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 ~216 days

Recently: every ~324 days

Total

7

Last Release

525d ago

Major Versions

1.1.0 → 2.0.02024-12-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f6c1df458ec717f31e15bf7ab9f3648344dbf562f5b7e52e33732b3e421f7d6?d=identicon)[nerdroid23](/maintainers/nerdroid23)

---

Top Contributors

[![nerdroid23](https://avatars.githubusercontent.com/u/21242932?v=4)](https://github.com/nerdroid23 "nerdroid23 (23 commits)")[![atmonshi](https://avatars.githubusercontent.com/u/1952412?v=4)](https://github.com/atmonshi "atmonshi (9 commits)")[![swapnilsarwe](https://avatars.githubusercontent.com/u/166912?v=4)](https://github.com/swapnilsarwe "swapnilsarwe (2 commits)")

---

Tags

bladeicomoonlaravellaravelbladeicomoon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nerdroid23-blade-icomoon/health.svg)

```
[![Health](https://phpackages.com/badges/nerdroid23-blade-icomoon/health.svg)](https://phpackages.com/packages/nerdroid23-blade-icomoon)
```

###  Alternatives

[stijnvanouplines/blade-country-flags

A package to easily make use of country flags in your Laravel Blade views.

26307.2k6](/packages/stijnvanouplines-blade-country-flags)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18299.2k7](/packages/technikermathe-blade-lucide-icons)[saade/blade-iconsax

A package to easily make use of Iconsax in your Laravel Blade views.

21138.5k](/packages/saade-blade-iconsax)[mckenziearts/blade-untitledui-icons

A package to easily make use of UntitledUI icons in your Laravel Blade views.

16104.9k5](/packages/mckenziearts-blade-untitledui-icons)[afatmustafa/blade-hugeicons

A package to easily make use of Hugeicons(Free version) in your Laravel Blade views.

13129.0k3](/packages/afatmustafa-blade-hugeicons)

PHPackages © 2026

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