numero2/contao-proper-filenames
最新稳定版本:v2.2.3
Composer 安装命令:
composer require numero2/contao-proper-filenames
包简介
Replaces special characters in filenames right after upload
README 文档
README
About
Sanitizes the filenames of files uploaded via the Contao file manager or Contao form. Read more
System requirements
Installation & Configuration
- Install via Contao Manager or Composer (
composer require numero2/contao-proper-filenames) - In the Backend go to
System Settingsand clickCheck filenamesunderUpload settings - Configure how the filenames should be renamed by choosing an option from
Valid filename characters
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.
统计信息
- 总下载量: 48.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2026-01-04