PHPackages                             nelson-cms/svg-filter - 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. nelson-cms/svg-filter

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

nelson-cms/svg-filter
=====================

Simple inline SVG filter for Nette/Latte.

1.0.1(1y ago)0143PHPPHP ^8.3

Since Mar 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nelson-cms/svg-filter)[ Packagist](https://packagist.org/packages/nelson-cms/svg-filter)[ RSS](/packages/nelson-cms-svg-filter/feed)WikiDiscussions master Synced 1mo ago

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

SVG Filter
==========

[](#svg-filter)

A simple SVG filter for Nette/Latte with cache support.

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

[](#installation)

```
composer require nelson-cms/svg-filter
```

Setup
-----

[](#setup)

```
extensions:
	 svgFilter: NelsonCms\SvgFilter\DI\SvgFilterExtension

svgFilter:
	assetsPath: %wwwDir%/
```

Usage
-----

[](#usage)

Example:

```
{='assets/front/svg/logo.svg'|svg: 100, 200, 'currentColor'}
```

Parameters:

```
float $width = null,
float $height = null,
string $fill = null,
string $class = null,
string $title = null,
array $attributes = [],
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance46

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

420d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nelson-cms-svg-filter/health.svg)

```
[![Health](https://phpackages.com/badges/nelson-cms-svg-filter/health.svg)](https://phpackages.com/packages/nelson-cms-svg-filter)
```

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)

PHPackages © 2026

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