ProcessModuleCleaner is a utility module for ProcessWire that helps administrators keep their site/modules/ directory clean. It identifies and allows for the deletion of orphaned or backup module directories that start with a dot (e.g., .ModuleName).
These directories are often created by ProcessWire during module upgrades or uninstalls as backups and can accumulate over time.
- Detection: Scans the modules directory for folders starting with a dot (
.). - Overview: Lists found folders with their last modified date.
- Cleanup: Provides an interface to select and permanently delete these folders.
- Safety: Protected by ProcessWire's permission system (
module-admin) and CSRF tokens.
- Download or clone this repository into your ProcessWire site/modules directory.
- In the ProcessWire admin, go to Modules > Refresh.
- Find 'Module Folder Cleaner' in the list (in Process) and click 'Install'.
- Navigate to Setup > Module Cleaner in the ProcessWire admin.
- If any orphaned folders are found, they will be listed.
- Select the folders you want to remove and click Delete Selected.
This project is licensed under the MIT License - see the LICENSE file for details.
Markus Thomas