PHPackages                             tiknil/svg-sprite - 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. [Image &amp; Media](/categories/media)
4. /
5. tiknil/svg-sprite

ActiveLibrary[Image &amp; Media](/categories/media)

tiknil/svg-sprite
=================

Laravel package to create a sprite from a folder with svg

1.1.0(10mo ago)26MITPHPPHP ^8.1|^8.2|^8.3|^8.4

Since Apr 1Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/tiknil/svg-sprite)[ Packagist](https://packagist.org/packages/tiknil/svg-sprite)[ Docs](https://github.com/tiknil/svg-sprite)[ RSS](/packages/tiknil-svg-sprite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

[Svg sprite](https://github.com/tiknil/svg-sprite) is a tool for creating an svg sprite from a folder of icons.

[Learn more about SVG Sprites and how to use them](https://css-tricks.com/svg-sprites-use-better-icon-fonts/)

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

[](#installation)

### Global installation

[](#global-installation)

```
composer global require tiknil/svg-sprite

```

Make sure that the composer binaries directory is in your `$PATH`

You can update svg-sprite to the latest version by running

```
composer global update tiknil/svg-sprite

```

You can now use the `svg-sprite` command anywhere

### PHP project local installation

[](#php-project-local-installation)

```
composer require tiknil/svg-sprite

```

You can now invoke the command using `vendor/bin/svg-sprite`

### Usage

[](#usage)

```
svg-sprite
```

For example, in a laravel project:

```
svg-sprite public/icons resources/views/sprite.blade.php

```

By default, the files names will be used as ID for the icon. You can add a prefix with the -p option:

```
svg-sprite  public/icons resources/views/sprite.blade.php -p icons-

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance58

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

305d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/369107c31af2371c739637d462c85da5fd4e88695e37c36cb2059efa88ab0471?d=identicon)[gbalduzzi](/maintainers/gbalduzzi)

---

Top Contributors

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

---

Tags

tiknilsvg-sprite

### Embed Badge

![Health badge](/badges/tiknil-svg-sprite/health.svg)

```
[![Health](https://phpackages.com/badges/tiknil-svg-sprite/health.svg)](https://phpackages.com/packages/tiknil-svg-sprite)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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