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

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

yemenopensource/hero-icons
==========================

HeroIcons is a Laravel package that provides a convenient command for generating hero icons as constants on a PHP class. This package is designed to simplify the process of working with hero icons in your Laravel projects.

1.1.0(2y ago)1310.3k↓73.9%MITPHPPHP ^7.4|^8.0|^8.1|^8.2

Since Oct 23Pushed 2y agoCompare

[ Source](https://github.com/YemenOpenSource/hero-icons)[ Packagist](https://packagist.org/packages/yemenopensource/hero-icons)[ RSS](/packages/yemenopensource-hero-icons/feed)WikiDiscussions main Synced yesterday

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

[![Stand With Palestine](https://raw.githubusercontent.com/TheBSD/StandWithPalestine/main/banner-no-action.svg)](https://TheBSD.github.io/StandWithPalestine/)

[![HeroIcons.png](https://camo.githubusercontent.com/dbc54ce0fc7b10f83ebf1015342ae00d856db226c607af4d444766ada92983ac/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4865726f25323049636f6e732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d79656d656e6f70656e736f757263652532466865726f2d69636f6e73267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d412b636f6e76656e69656e742b636f6d6d616e642b666f722b67656e65726174696e672b6865726f2b69636f6e732b61732b636f6e7374616e74732b6f6e2b612b5048502b636c6173732e266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d636f6465)](https://camo.githubusercontent.com/dbc54ce0fc7b10f83ebf1015342ae00d856db226c607af4d444766ada92983ac/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4865726f25323049636f6e732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d79656d656e6f70656e736f757263652532466865726f2d69636f6e73267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d412b636f6e76656e69656e742b636f6d6d616e642b666f722b67656e65726174696e672b6865726f2b69636f6e732b61732b636f6e7374616e74732b6f6e2b612b5048502b636c6173732e266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d636f6465)

HeroIcons Generator
===================

[](#heroicons-generator)

[![Packagist Version (custom server)](https://camo.githubusercontent.com/5692868039b1cbef890f9b80027a84d8240240578f1673d5a5c259bc47e63854/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79656d656e6f70656e736f757263652f6865726f2d69636f6e73)](https://camo.githubusercontent.com/5692868039b1cbef890f9b80027a84d8240240578f1673d5a5c259bc47e63854/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79656d656e6f70656e736f757263652f6865726f2d69636f6e73)[![Packagist Downloads (custom server)](https://camo.githubusercontent.com/8a717564ebb521a2725fa43368eda5c354859af70b172bfb1fd981c1e9a58bb8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79656d656e6f70656e736f757263652f6865726f2d69636f6e73)](https://camo.githubusercontent.com/8a717564ebb521a2725fa43368eda5c354859af70b172bfb1fd981c1e9a58bb8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79656d656e6f70656e736f757263652f6865726f2d69636f6e73)[![StandWithPalestine](https://raw.githubusercontent.com/TheBSD/StandWithPalestine/main/badges/StandWithPalestine.svg)](https://github.com/TheBSD/StandWithPalestine/blob/main/docs/README.md)

HeroIcons is a Laravel package that provides a convenient command for generating hero icons as constants on a PHP class. This package is designed to simplify the process of working with hero icons in your Laravel projects.

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

[](#installation)

You can install the package via Composer:

```
composer require yemenopensource/hero-icons
```

Usage
-----

[](#usage)

To generate the hero icons class, simply run the following command:

```
php artisan generate:hero-icons
```

The command will scan the SVG files in the specified directory and generate a PHP class with constants representing each icon. The generated PHP class will be saved in the app/Utilities folder of your Laravel project.

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

[](#configuration)

The package provides a configuration file that allows you to customize its behavior.

You can publish the configuration file by using the following command:

```
php artisan vendor:publish --provider="YOS\HeroIcons\ServiceProvider" --tag="config"
```

After publishing the configuration file, you can find it at config/heroicons.php. Open this file and modify it according to your requirements.

In the configuration file, you can modify the following settings:

- `blade-ui-kit-path`: The vendor path of the Blade UI Kit package where the SVG files exist.
- `namespace`: The namespace and directory path of the output of the generated class.
- `class`: The output class name.

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

[](#contributing)

Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to create an issue or a pull request.

License
-------

[](#license)

The package is part of yemen open source and it is licensed under the MIT license.

Credits
-------

[](#credits)

- [Muath Alsowadi](https://github.com/muath-ye)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

759d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66c9b114af377fd2400eb4737a18d5d6833a0ece6fc4f9d3b063000d50253f97?d=identicon)[muath-ye](/maintainers/muath-ye)

---

Top Contributors

[![muath-ye](https://avatars.githubusercontent.com/u/34031333?v=4)](https://github.com/muath-ye "muath-ye (10 commits)")

---

Tags

laravellaravel-ui-kitphp

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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