Download the PHP package lwplugins/lw-enable without Composer
On this page you can find all versions of the php package lwplugins/lw-enable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lwplugins/lw-enable
More information about lwplugins/lw-enable
Files in lwplugins/lw-enable
Download lwplugins/lw-enable
More information about lwplugins/lw-enable
Files in lwplugins/lw-enable
Vendor lwplugins
Package lw-enable
Short Description Enable WordPress features: SVG uploads and more.
License GPL-2.0-or-later
Package lw-enable
Short Description Enable WordPress features: SVG uploads and more.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package lw-enable
Lightweight Enable
Enable WordPress features: SVG uploads and more.
Features
Media
- SVG Uploads - Allow SVG file uploads with comprehensive security sanitization
- MIME type registration
- Script/XSS detection and blocking
- XXE (XML External Entity) protection
- Event handler detection
- Obfuscation detection (Unicode/hex escapes, entity encoding)
- Automatic SVG dimension extraction (width/height and viewBox)
- 5MB file size limit
- Post-upload re-validation
Installation
Or download and upload to /wp-content/plugins/.
Usage
Admin UI
- Go to LW Plugins → Enable
- Check the features you want to enable
- Save
WP-CLI
Available features:
| Feature | Description |
|---|---|
svg |
SVG file uploads with security sanitization |
Security
SVG files can contain malicious code. This plugin performs comprehensive sanitization before allowing uploads:
- 34 dangerous patterns detected (scripts, event handlers, external entities, data URIs, etc.)
- Entity decoding to catch obfuscated payloads
- XML validation via DOMDocument
- Post-upload verification - files are re-checked after WordPress processes them
- Automatic cleanup - invalid files are deleted immediately
Links
Sponsor
Supported by Sinann
All versions of lw-enable with dependencies
PHP Build Version
Package Version
The package lwplugins/lw-enable contains the following files
Loading the files please wait ...