PHPackages                             plakart/contao-svg-sprite-bundle - 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. plakart/contao-svg-sprite-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

plakart/contao-svg-sprite-bundle
================================

This bundle allows you to manage and use SVG sprites directly within your Contao theme.

1.0.0(3mo ago)07↓81.8%[2 issues](https://github.com/plakart/contao-svg-sprite-bundle/issues)LGPL-3.0-or-laterPHP

Since Apr 2Pushed 3mo agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Contao SVG Sprite Bundle
========================

[](#contao-svg-sprite-bundle)

This bundle allows you to manage and use SVG sprites directly within your Contao theme.

Features
--------

[](#features)

- Upload and/or select an SVG sprite within your theme
- Reference individual `` elements via insert tags
- Optional width and height parameters for flexible rendering
- (Planned) Visual icon picker for selecting symbols
- (Planned) Dynamic SVG sprite generation via Contao (instead of loading from the file system)

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

[](#installation)

```
composer require plakart/contao-svg-sprite-bundle

```

Usage
-----

[](#usage)

### Insert Tag

[](#insert-tag)

Use the following insert tag to render an icon:

```
{{symbol::ICON_ID}}

```

You can optionally define width and height:

```
{{symbol::ICON_ID?width=32&height=32}}

```

### Example SVG Sprite

[](#example-svg-sprite)

```

```

### HTML Output

[](#html-output)

```

```

- General icon class `sprite-svg-icon`
- Specific class per icon `icon--ICON_ID`

Roadmap
-------

[](#roadmap)

- Visual icon picker for selecting symbols\\
- Dynamic SVG sprite generation on page load (instead of file-based loading)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance82

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/150e59c647719a1d7b4e60a5a8708351abdc6882732fe1dc37e363f6fd3fd9ff?d=identicon)[plakart](/maintainers/plakart)

---

Top Contributors

[![jaynoe](https://avatars.githubusercontent.com/u/25270391?v=4)](https://github.com/jaynoe "jaynoe (7 commits)")[![stefansl](https://avatars.githubusercontent.com/u/1564251?v=4)](https://github.com/stefansl "stefansl (1 commits)")

### Embed Badge

![Health badge](/badges/plakart-contao-svg-sprite-bundle/health.svg)

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

###  Alternatives

[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)[codefog/contao-haste

haste extension for Contao Open Source CMS

46676.5k170](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18156.0k10](/packages/terminal42-contao-folderpage)[terminal42/contao-url-rewrite

URL Rewrite bundle for Contao Open Source CMS

15102.5k3](/packages/terminal42-contao-url-rewrite)

PHPackages © 2026

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