PHPackages                             mathiasreker/php-svg-optimizer - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. mathiasreker/php-svg-optimizer

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

mathiasreker/php-svg-optimizer
==============================

php-svg-optimizer is a PHP library designed to optimize SVG files by applying various transformations and cleanup operations.

8.5.3(1mo ago)338.9k—8.3%2MITPHP ^8.3

Since Aug 27Compare

[ Source](https://github.com/MathiasReker/php-svg-optimizer)[ Packagist](https://packagist.org/packages/mathiasreker/php-svg-optimizer)[ Docs](https://github.com/mathiasreker/php-svg-optimizer)[ RSS](/packages/mathiasreker-php-svg-optimizer/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (54)Versions (82)Used By (2)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/MathiasReker/php-svg-optimizer).

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance90

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Total

76

Last Release

52d ago

Major Versions

3.0.5 → 4.0.02024-09-18

4.1.0 → 5.0.02024-12-08

5.3.5 → 6.0.02025-07-03

6.0.4 → 7.0.02025-07-12

7.3.0 → 8.02025-11-17

PHP version history (3 changes)1.0.0PHP &gt;=8.2

4.1.0PHP &gt;=8.3

6.0.0PHP ^8.3

### Community

Maintainers

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

---

Tags

minifysvgcompresscleansanitizeoptimize

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mathiasreker-php-svg-optimizer/health.svg)

```
[![Health](https://phpackages.com/badges/mathiasreker-php-svg-optimizer/health.svg)](https://phpackages.com/packages/mathiasreker-php-svg-optimizer)
```

###  Alternatives

[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[abcaeffchen/sepa-utilities

SepaUtilities provides useful methods for validating and sanitizing inputs used in SEPA files supporting PHP &gt;= 8.1.

312.0M2](/packages/abcaeffchen-sepa-utilities)[surgiie/transformer

A data transforming/formatting package for php.

12724.3k1](/packages/surgiie-transformer)[ondrej-vrto/php-filename-sanitize

Removes all forbidden characters from the file name or path.

1120.6k1](/packages/ondrej-vrto-php-filename-sanitize)[erlandmuchasaj/sanitize

A package to sanitize your input.

146.0k](/packages/erlandmuchasaj-sanitize)[romeoz/rock-sanitize

Flexible sanitizator for PHP.

4720.1k9](/packages/romeoz-rock-sanitize)

PHPackages © 2026

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