PHPackages                             yceruto/iconpack - 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. yceruto/iconpack

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

yceruto/iconpack
================

Svg-Twig Icons Collection

v0.1.2(1y ago)121MITTwigPHP &gt;=8.1

Since Nov 12Pushed 1y ago1 watchersCompare

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

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

Svg-Twig Icons Collection
=========================

[](#svg-twig-icons-collection)

A simple way to include and customize icons in your [Twig](https://twig.symfony.com) projects.

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

[](#installation)

```
$ composer require yceruto/iconpack
```

Collections available:

-

Usage
-----

[](#usage)

Some Twig template:

```
{{ include('@Heroicons/solid/archive-box.svg.twig') }}
```

Output:

```

```

[![archive-box](https://private-user-images.githubusercontent.com/2028198/385108209-eee7c644-57e0-4367-9461-4af7f8b853ff.svg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU2MDM5NjIsIm5iZiI6MTc3NTYwMzY2MiwicGF0aCI6Ii8yMDI4MTk4LzM4NTEwODIwOS1lZWU3YzY0NC01N2UwLTQzNjctOTQ2MS00YWY3ZjhiODUzZmYuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDdUMjMxNDIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODA2N2M0YmZkZjI4ZjAzMDE5YjBkZDJjMDA2OTViYzRiNGFkYjQ4NDc3Y2I0YmNiMTQ5YTNlZWY1NjM5ZTBmZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xz7UobJ7Xm8Z_VP7aZuIuhRNgthE-RhOLdDczmzlQaE)](https://private-user-images.githubusercontent.com/2028198/385108209-eee7c644-57e0-4367-9461-4af7f8b853ff.svg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU2MDM5NjIsIm5iZiI6MTc3NTYwMzY2MiwicGF0aCI6Ii8yMDI4MTk4LzM4NTEwODIwOS1lZWU3YzY0NC01N2UwLTQzNjctOTQ2MS00YWY3ZjhiODUzZmYuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDdUMjMxNDIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODA2N2M0YmZkZjI4ZjAzMDE5YjBkZDJjMDA2OTViYzRiNGFkYjQ4NDc3Y2I0YmNiMTQ5YTNlZWY1NjM5ZTBmZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xz7UobJ7Xm8Z_VP7aZuIuhRNgthE-RhOLdDczmzlQaE)

Some SVG attributes can be modified using Twig parameters:

```
{{ include('@Heroicons/solid/archive-box.svg.twig', {'class': 'size-7'}) }}
```

Available parameters are:

- `fill` Sets the color to fill the inner areas of the SVG shape. Accepts any CSS color value.
- `class` Adds custom CSS classes to the SVG, allowing for additional styling, such as size or visibility adjustments.
- `stroke` Specifies the color of the SVG outline or border, which can enhance or change the SVG’s edge visibility.
- `stroke_width` Defines the width of the SVG outline, making the border thicker or thinner depending on the value.

> Note that some icon templates don't include the `stroke` and `stroke_width` variables as there are useless for some icons.

Contribution
------------

[](#contribution)

Update templates files definition:

```
$ ./bin/update.sh
```

License
-------

[](#license)

This software is published under the [MIT License](LICENSE)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

3

Last Release

552d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebf906be9b4bb0c2060846ce9bbfe246df4e32bb5a8741ce1971ee923db2f8ae?d=identicon)[yceruto](/maintainers/yceruto)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yceruto-iconpack/health.svg)

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M315](/packages/twig-extra-bundle)[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)[endroid/qr-code-bundle

Endroid QR Code Bundle

32110.6M17](/packages/endroid-qr-code-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)[yellowskies/qr-code-bundle

Symfony Barcode &amp; QR Code Generator Bundle with Twig extension

36682.9k](/packages/yellowskies-qr-code-bundle)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1432.0k](/packages/symfony-ux-toolkit)

PHPackages © 2026

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