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

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

digitlab/blade-icons
====================

Laravel Blade SVG icon injection.

v1.0.1(9y ago)0724MITPHPPHP &gt;=5.6

Since Jul 25Pushed 9y agoCompare

[ Source](https://github.com/DigitLab/blade-icons)[ Packagist](https://packagist.org/packages/digitlab/blade-icons)[ Docs](http://digitlab.co.za)[ RSS](/packages/digitlab-blade-icons/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

Blade Icons
===========

[](#blade-icons)

[![StyleCI](https://camo.githubusercontent.com/490b6c6822a0e04cead2522e3aeae6314b8764aad92792acbd492328432cc828/68747470733a2f2f7374796c6563692e696f2f7265706f732f36343131393531322f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/64119512)[![Build Status](https://camo.githubusercontent.com/c68656086252ebf070cb52506c190d9d8c8a427f8ca1932d6d4dafb2c5b53846/68747470733a2f2f7472617669732d63692e6f72672f44696769744c61622f626c6164652d69636f6e732e737667)](https://travis-ci.org/DigitLab/blade-icons)[![Total Downloads](https://camo.githubusercontent.com/8b7ed01c9f4b3b6dd8e40658d786fd48d70ea0354f5c6f4837f2c297d455acf7/68747470733a2f2f706f7365722e707567782e6f72672f64696769746c61622f626c6164652d69636f6e732f646f776e6c6f616473)](https://packagist.org/packages/digitlab/blade-icons)[![Latest Stable Version](https://camo.githubusercontent.com/04a071f3291bc5bf535cf32f35ec2336e9fe4f80f096737cbafab1ef1d6ced8f/68747470733a2f2f706f7365722e707567782e6f72672f64696769746c61622f626c6164652d69636f6e732f762f737461626c65)](https://packagist.org/packages/digitlab/blade-icons)[![License](https://camo.githubusercontent.com/994fdba30fa8ad1214f796144e002bb6d745d2e52e5d523c8a7108e533314efc/68747470733a2f2f706f7365722e707567782e6f72672f64696769746c61622f626c6164652d69636f6e732f6c6963656e7365)](https://packagist.org/packages/digitlab/blade-icons)

An SVG icon injector for Laravel Blade.

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

[](#installation)

Install using composer:

```
composer require digitlab/blade-icons
```

Add the service provider in app/config/app.php:

```
DigitLab\BladeIcons\BladeIconsServiceProvider::class,
```

Create the cache path (defaults to /storage/framework/icons) and resource path (defaults to /resources/svgs) as specified in your config.

Usage
-----

[](#usage)

You can insert an SVG resource using the blade syntax `@icon('name')`.

To override svg attributes, add them in an array: `@icon('name', ['width' => 300])`.

CSS
---

[](#css)

It is suggested that you add the following css to style your icons:

```
.icon {
  display: inline-block;
  vertical-align: text-top;
  fill: currentColor;
}
```

License
-------

[](#license)

Blade Icons is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3610d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2621932?v=4)[DigitLab](/maintainers/digitlab)[@DigitLab](https://github.com/DigitLab)

---

Top Contributors

[![nrwiersma](https://avatars.githubusercontent.com/u/644536?v=4)](https://github.com/nrwiersma "nrwiersma (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k449.3k30](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)

PHPackages © 2026

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