PHPackages                             numero2/contao-proper-filenames - 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. numero2/contao-proper-filenames

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

numero2/contao-proper-filenames
===============================

Replaces special characters in filenames right after upload

v2.2.4(3mo ago)1353.0k↑16.3%5LGPL-3.0-or-laterPHPPHP &gt;=8.0

Since Jun 9Pushed 3mo ago6 watchersCompare

[ Source](https://github.com/numero2/contao-proper-filenames)[ Packagist](https://packagist.org/packages/numero2/contao-proper-filenames)[ RSS](/packages/numero2-contao-proper-filenames/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (22)Used By (0)

Contao Proper Filenames
=======================

[](#contao-proper-filenames)

[![](https://camo.githubusercontent.com/3d4d63d2a470807355c6f44ccb73c7f455e5bc3f90683602a8392cf59bb2f1da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e756d65726f322f636f6e74616f2d70726f7065722d66696c656e616d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/numero2/contao-proper-filenames) [![](https://camo.githubusercontent.com/378367a0f32c18d4cd4a72c592d665bb27e3c184419e2fa85ff21fde8972bc1a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4c47504c25323076332d626c75652e7376673f7374796c653d666c61742d737175617265)](http://www.gnu.org/licenses/lgpl-3.0)

About
-----

[](#about)

Sanitizes the filenames of files uploaded via the Contao file manager or Contao form. [Read more](https://www.numero2.de/contao/erweiterungen/proper-filenames.html)

System requirements
-------------------

[](#system-requirements)

- [Contao 4.13 or newer](https://github.com/contao/contao)

Installation &amp; Configuration
--------------------------------

[](#installation--configuration)

- Install via Contao Manager or Composer (`composer require numero2/contao-proper-filenames`)
- In the Backend go to `System Settings` and click `Check filenames` under `Upload settings`
- Configure how the filenames should be renamed by choosing an option from `Valid filename characters`

Commands
--------

[](#commands)

Recursively sanitize all files and folders in a given directory.

```
contao-console contao:proper-filenames:sanitize myfolder -r
```

The extension only analyzes files that are stored in Contao's DBAFS (tl\_files). The DBAFS should be synchronized before the call - either via the `File manager` in the Backend or with the following console call:

```
contao-console contao:filesync
```

To get a preview of how everything will be renamed there is also a `--dry-run` flag. For all available flags and options see the help using `contao-console contao:proper-filenames:sanitize --help`.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 63.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

Every ~158 days

Recently: every ~109 days

Total

21

Last Release

96d ago

### Community

Maintainers

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

---

Top Contributors

[![bennyborn](https://avatars.githubusercontent.com/u/226890?v=4)](https://github.com/bennyborn "bennyborn (47 commits)")[![michb](https://avatars.githubusercontent.com/u/17873830?v=4)](https://github.com/michb "michb (18 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (5 commits)")[![zonky2](https://avatars.githubusercontent.com/u/1045318?v=4)](https://github.com/zonky2 "zonky2 (4 commits)")

---

Tags

contao4contao5

### Embed Badge

![Health badge](/badges/numero2-contao-proper-filenames/health.svg)

```
[![Health](https://phpackages.com/badges/numero2-contao-proper-filenames/health.svg)](https://phpackages.com/packages/numero2-contao-proper-filenames)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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