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

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

codeat3/blade-majestic-icons
============================

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

2.3.0(3mo ago)028.0k↓36.4%[1 PRs](https://github.com/codeat3/blade-majesticons/pulls)1MITPHPPHP ^7.4|^8.0CI failing

Since May 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/codeat3/blade-majesticons)[ Packagist](https://packagist.org/packages/codeat3/blade-majestic-icons)[ Docs](https://github.com/codeat3/blade-majestic-icons)[ GitHub Sponsors](https://github.com/swapnilsarwe)[ RSS](/packages/codeat3-blade-majestic-icons/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (7)Dependencies (12)Versions (10)Used By (1)

 [![](./socialcard-blade-majestic-icons.png "Social Card Blade Majestic Icons")](./socialcard-blade-majestic-icons.png)

Blade Majestic Icons
====================

[](#blade-majestic-icons)

[ ![Tests](https://github.com/codeat3/blade-majestic-icons/workflows/Tests/badge.svg)](https://github.com/codeat3/blade-majestic-icons/actions?query=workflow%3ATests)[ ![Latest Stable Version](https://camo.githubusercontent.com/d8f16bd8b5189ba8e5fc2b43dbd304bbb68ec0a9616add2dcdcd9b07adee2d0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656174332f626c6164652d6d616a65737469632d69636f6e73)](https://packagist.org/packages/codeat3/blade-majestic-icons)[ ![Total Downloads](https://camo.githubusercontent.com/46f13f35dde3e982de3adfc39d67c1f0859ac54f54746a45cc3beea166164dc5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656174332f626c6164652d6d616a65737469632d69636f6e73)](https://packagist.org/packages/codeat3/blade-majestic-icons)A package to easily make use of [Blade Majestic Icons](https://github.com/halfmage/majesticons) in your Laravel Blade views.

For a full list of available icons see [the SVG directory](resources/svg) or preview them at [majesticons.netlify.app](https://majesticons.netlify.app).

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

[](#requirements)

- PHP 7.4 or higher
- Laravel 8.0 or higher

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

[](#installation)

```
composer require codeat3/blade-majestic-icons
```

Updating
--------

[](#updating)

Please refer to [`the upgrade guide`](UPGRADE.md) when updating the library.

Note
----

[](#note)

When you upgrade to `2.0` of this package, most of the icons which were available in `1.0` won't be available. This is due to the deletion of icons in the original repository. Kindly make note of it. The commit can be found on the original repo at this link with the commit description as [initial commit for v2](https://github.com/halfmage/majesticons/commit/4417a83f6869615bfa2447df4f461de95530b5c6)

Blade Icons
-----------

[](#blade-icons)

Blade Majestic Icons uses Blade Icons under the hood. Please refer to [the Blade Icons readme](https://github.com/blade-ui-kit/blade-icons) for additional functionality. We also recommend to [enable icon caching](https://github.com/blade-ui-kit/blade-icons#caching) with this library.

Caching Icons
-------------

[](#caching-icons)

It's a good idea to add the `icons:cache` command as part of your deployment pipeline and always cache icons in production. This will significantly improve performance of the application. Refer [Caching](https://github.com/driesvints/blade-icons?tab=readme-ov-file#caching) section for details.

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

[](#configuration)

Blade Majestic Icons 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-majestic-icons.php` config file:

```
php artisan vendor:publish --tag=blade-majestic-icons-config
```

Usage
-----

[](#usage)

Icons can be used as 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:

```

```

The solid icons can be referenced like this by using suffix `-solid`:

```

```

The line icons can be referenced like this by using suffix `-line`:

```

```

### 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-majestic-icons --force
```

Then use them in your views like:

```

```

Changelog
---------

[](#changelog)

Check out the [CHANGELOG](CHANGELOG.md) in this repository for all the recent changes.

Maintainers
-----------

[](#maintainers)

Blade Majestic Icons is developed and maintained by [Swapnil Sarwe](https://swapnilsarwe.com).

License
-------

[](#license)

Blade Majestic Icons is open-sourced software licensed under [the MIT license](LICENSE.md).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance87

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~282 days

Total

7

Last Release

104d ago

Major Versions

1.2.0 → 2.0.02023-03-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/166912?v=4)[Swapnil Sarwe](/maintainers/swapnilsarwe)[@swapnilsarwe](https://github.com/swapnilsarwe)

---

Top Contributors

[![swapnilsarwe](https://avatars.githubusercontent.com/u/166912?v=4)](https://github.com/swapnilsarwe "swapnilsarwe (37 commits)")

---

Tags

laraveliconsblademajestic

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codeat3-blade-majestic-icons/health.svg)

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

###  Alternatives

[technikermathe/blade-lucide-icons

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

18421.4k11](/packages/technikermathe-blade-lucide-icons)[ublabs/blade-simple-icons

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

1963.4k](/packages/ublabs-blade-simple-icons)[codeat3/blade-google-material-design-icons

A package to easily make use of "Google Fonts Material Icons" in your Laravel Blade views.

23572.2k4](/packages/codeat3-blade-google-material-design-icons)

PHPackages © 2026

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