digitlab/blade-icons
Larablocks Analysis
digitlab/blade-icons works with Laravel 5 (latest release v1.0.1, Aug 11, 2016), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Aug 11, 2016)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Aug 11, 2016.
- No releases in the last 12 months.
- First released: Jul 25, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require digitlab/blade-icons |
|
| Latest Version: | v1.0.1 |
| PHP: | >=5.6 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Aug 11, 2016 |
| Links: | GitHub · Packagist |
Blade Icons
An SVG icon injector for Laravel Blade.
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
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
It is suggested that you add the following css to style your icons:
.icon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
}
License
Blade Icons is licensed under The MIT License (MIT).
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.1 | >=5.6 | ^5.0 | MIT | |
| v1.0.0 | >=5.6 | ^5.0 | MIT |