PHPackages                             heimrichhannot/contao-upload\_filename\_sanitizer - 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. heimrichhannot/contao-upload\_filename\_sanitizer

ActiveContao-module[Validation &amp; Sanitization](/categories/validation)

heimrichhannot/contao-upload\_filename\_sanitizer
=================================================

A simple module for sanitizing filenames (when uploading them in the file manager) and folders (when creating them in the file manager).

1.0.5(8y ago)31.5kLGPL-3.0+PHPPHP ~5.4 || ~7.0

Since Nov 22Pushed 7y ago4 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-upload_filename_sanitizer)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-upload_filename_sanitizer)[ Docs](https://github.com/heimrichhannot/contao-upload_filename_sanitizer)[ RSS](/packages/heimrichhannot-contao-upload-filename-sanitizer/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Upload Filename sanitizer
=========================

[](#upload-filename-sanitizer)

This module is abandoned. For Contao 4 use this bundle instead: [contao-filename-sanitizer-bundle](https://github.com/heimrichhannot/contao-filename-sanitizer-bundle)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#this-module-is-abandoned-for-contao-4-use-this-bundle-instead-contao-filename-sanitizer-bundle)

A simple module for sanitizing filenames (when uploading them in the file manager) and folders (when creating them in the file manager). The sanitizing contains the following steps:

1. German Umlauts are transformed to their non-umlaut representation (ä -&gt; ae, Ä -&gt; Ae, ß -&gt; ss, ...).
2. All characters which are not a-z, A-Z, - (hyphen) or \_ (underscore) are replaced by - (hyphen).
3. Multiple consecutive hyphens are replaced reduced to a single hyphen.
4. Leading and trailing hyphens are removed.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~88 days

Total

5

Last Release

3151d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (4 commits)")[![Defcon0](https://avatars.githubusercontent.com/u/1485098?v=4)](https://github.com/Defcon0 "Defcon0 (1 commits)")

---

Tags

sanitizermodulecontaodevelopersanitizefilename

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-upload-filename-sanitizer/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-upload-filename-sanitizer/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-upload-filename-sanitizer)
```

###  Alternatives

[ondrej-vrto/php-filename-sanitize

Removes all forbidden characters from the file name or path.

1022.8k1](/packages/ondrej-vrto-php-filename-sanitize)

PHPackages © 2026

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