PHPackages                             teksite/icon-laravel - 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. teksite/icon-laravel

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

teksite/icon-laravel
====================

This package is a simple and tiny SVG icons font laravel

0.1.1(1mo ago)19MIT

Since May 16Compare

[ Source](https://github.com/teksite/laravel-icon)[ Packagist](https://packagist.org/packages/teksite/icon-laravel)[ RSS](/packages/teksite-icon-laravel/feed)WikiDiscussions Synced 3w ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (0)

Extra laravel Package
=====================

[](#extra-laravel-package)

About
-----

[](#about)

A simple and lightweight SVG icon package for Laravel.

### Author

[](#author)

Sina Zangiband

### Contact

[](#contact)

- [teksite.net](https://teksite.net)
- [laratek.ir](https://laratek.ir)
- [teksite.net](https://teksite.net)

---

### Step 1: Install via Composer

[](#step-1-install-via-composer)

Run the following command in your terminal:

```
composer require teksite/icon-laravel
```

#### Laravel 5.x and earlier

[](#laravel-5x-and-earlier)

If you are using Laravel 5.x or earlier, register the service provider in the `config/app.php` file under the `providers` array:

```
'providers' => [
    // Other Service Providers
    Teksite\IconLaravel\IconLaravelServiceProvider::class,
];
```

> **Note:** This step is not required for newer versions of Laravel (5.x and above).

---

Usage
-----

[](#usage)

### Step 2: Create Blade Component

[](#step-2-create-blade-component)

Create a blade component file named icon.blade.php in resources/views/components/ directory.

Add the following content:

```
merge(['class'=>'tkicon '.$icon]) }} data-icon="{{$icon}}" stroke-width="{{$strokeWidth}}" stroke-linecap="{{$strokeLinecap}}" stroke-linejoin="{{$strokeLinejoin}}">
   {{ $title && strlen($title) ? "$itlte" : '' }}
    {!! $path !!}

```

### Step 3: Use in Blade Template

[](#step-3-use-in-blade-template)

```

```

---

Custom Icons
------------

[](#custom-icons)

You can add your own SVG icons by creating a JSON file at:

storage\_path('app/svg-icons/outline.json') --&gt; for outline svg icons storage\_path('app/svg-icons/solid.json') --&gt; for solid svg icons

Tip: Only save the path tags inside the JSON file.

Example custom.json:

\[ {"name": ""}, {"name": ""} \]

---

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

[](#configuration)

You can change the default paths and settings by publishing the config file:

php artisan vendor:publish --provider="Teksite\\IconLaravel\\IconLaravelServiceProvider"

Then edit config/icon-laravel.php.

---

Support
-------

[](#support)

Feel free to reach out if you have any questions or need assistance with this package.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance90

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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

Total

6

Last Release

46d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/teksite-icon-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/teksite-icon-laravel/health.svg)](https://phpackages.com/packages/teksite-icon-laravel)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.8k2](/packages/crumbls-layup)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3518.3k](/packages/duncanmcclean-statamic-cargo)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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