Skip to content

Commit a5478be

Browse files
docs: add media support check section to requirements documentation
1 parent c1fcbf3 commit a5478be

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

docs/REQUIREMENTS.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $ dep requirements:list [host]
2121
## Checks
2222

2323
### Locales
24-
2524
Verifies that required system locales are available (default: `de_DE.utf8`, `en_US.utf8`).
2625

2726
### System packages
@@ -32,6 +31,20 @@ Checks for required CLI tools: rsync, curl, ghostscript, git, gzip, mariadb-clie
3231

3332
Checks for GraphicsMagick (>= 1.3, recommended) or ImageMagick (>= 6.0) with version validation. Either one is sufficient.
3433

34+
### Media support
35+
36+
Checks for modern media format support across the PHP GD library and the installed image processing tool (GraphicsMagick or ImageMagick):
37+
38+
| Check | Method | OK | WARN | SKIP |
39+
|-------|--------|----|------|------|
40+
| GD: AVIF Support | `gd_info()` key `AVIF Support` | Compiled into GD | Not compiled into GD | GD not available |
41+
| GD: WebP Support | `gd_info()` key `WebP Support` | Compiled into GD | Not compiled into GD | GD not available |
42+
| IM/GM: AVIF | Format list (`-list format`) | Format supported | Format not supported | No tool found |
43+
| IM/GM: WebP | Format list (`-list format`) | Format supported | Format not supported | No tool found |
44+
| PHP ext: brotli | `php -m` | Loaded | Not loaded ||
45+
46+
All checks use WARN (not FAIL) since these features are recommended but not strictly required.
47+
3548
### PHP version
3649

3750
Validates the PHP version against the configured minimum (TYPO3: >= 8.2.0, default: >= 8.1.0).
@@ -158,6 +171,9 @@ set('requirements_packages', [
158171
set('requirements_mariadb_min_version', '10.6.0');
159172
set('requirements_mysql_min_version', '8.0.30');
160173

174+
// Disable media support checks (AVIF, WebP, brotli)
175+
set('requirements_check_media_support_enabled', false);
176+
161177
// Override image processing minimum versions
162178
set('requirements_graphicsmagick_min_version', '1.3.30');
163179
set('requirements_imagemagick_min_version', '7.0');

0 commit comments

Comments
 (0)