Installation & Requirements
Requirements
Section titled “Requirements”| Requirement | Version / Details |
|---|---|
| PHP | >= 8.4 (ext-fileinfo, ext-json, ext-mbstring required) |
| Image Engine (Bundled) | intervention/image v4.4 + intervention/image-driver-vips + intervention/imagehash (auto-detects Vips -> Imagick -> GD) |
| Optional PHP Extensions | ext-zip (public gallery & bulk ZIP downloads), ext-exif (EXIF auto-orientation & metadata), Imagick (automatic PDF first-page JPEG covers) |
| ProcessWire | >= 3.0.271 |
| Required Modules | Inertia, React, Entries |
| Optional CLI | trk/processwire-console (vendor/bin/wire) for media:* commands, queue workers, and daily maintenance |
Installation Steps
Section titled “Installation Steps”-
Require the package and its bundled image/storage PHP libraries:
Terminal window composer require trk/processwire-media -
Refresh and install
Media:Terminal window php vendor/bin/wire module:refreshphp vendor/bin/wire module:install --name=Media
- Ensure
intervention/imageandleague/flysystempackages are available via your project’s Composervendor/autoload.php. - Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Media), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate Media under the Site tab, and click Install.
- Ensure
intervention/imageandleague/flysystemare installed invendor/autoload.php. - Download and extract the release archive into
site/modules/Media/. - Open Modules -> Refresh in the ProcessWire admin (or run
php vendor/bin/wire module:refresh). - Click Install next to Media under Modules -> Site.
Installing Media automatically installs ProcessMedia (Setup -> Media), FieldtypeMedia, and InputfieldMedia, creates the five RBAC permissions (media-admin, media-view, media-upload, media-delete, media-share), and provisions the hidden media_* blueprints and entries_tbl_media_* Managed SQL Tables.
Verify Installation & Open Workspace
Section titled “Verify Installation & Open Workspace”php vendor/bin/wire media:doctor --jsonNavigate to Setup -> Media (or launch Media from Admin -> Workspace) to start uploading assets, organizing folders, and configuring crop presets.