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 today

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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIxMzQxNTcsIm5iZiI6MTc4MjEzMzg1NywicGF0aCI6Ii8yMDI4MTk4LzM4NTEwODIwOS1lZWU3YzY0NC01N2UwLTQzNjctOTQ2MS00YWY3ZjhiODUzZmYuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDYyMiUyRnVzLWVhc3Q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1sIn0.5zWaT56mKGdSrI1RHnhi12PFn19tQizAJo8NA0ARPBE)

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

24

—

LowBetter than 31% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

3

Last Release

598d 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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k160.5M1.2k](/packages/symfony-web-profiler-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

567.3M140](/packages/symfony-ux-icons)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[symfony/ux-toolkit

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

16126.1k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

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