jpmschuler/filefill-payload

Addon for EXT:filefill to provide static file replacements for common binary formats

Installs: 6 722

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v0.6.2 2024-08-10 18:14 UTC

This package is auto-updated.

Last update: 2024-10-10 18:53:25 UTC


README

Latest Stable Version Total Downloads License Build Status

PHP Version Require TYPO3 V9 TYPO3 V10 TYPO3 V11 TYPO3 V12

Packagist

TYPO3 EXT:filefill_payload

A TYPO3 EXT:filefill resource handler to supply working binary files.

While EXT:filefill overs a wonderful "static" option to replace files with content, for some scenarios a correct binary file is necessary. Especially testing file mime types and interpreting files might be necessary, not only in regression tests (which should run on a 1:1 system copy, but should be available on a shrunken system, too).

So this extensions supplies smallest possible binary files as an in-place replacement for those files, while still providing a real file (e.g. videos are playable, archives are extractable).

The file types also include legacy stuff like .flv or .rm as these are found in actual systems.

Images are excluded from this, as they would possibly break visual regression testing and EXT:filefill already provides the ResourceHandler placeholder.com.

Example Configuration (if list of extensions is empty, the default value 7z,avi,ext,flv,mov,mp4,pdf,rar,rm,webm,zipis used):

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['storages'][1] = [
    [
        'identifier' => 'staticbinaries',
        'configuration' => '7z,avi,ext,flv,mov,mp4,pdf,rar,rm,webm,zip'
    ]
];