jpmschuler/filefill-payload

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

Installs: 4 905

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v0.6.1 2023-05-19 21:04 UTC

This package is auto-updated.

Last update: 2024-05-05 13:10:54 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'
    ]
];
URL
Repository: https://github.com/jpmschuler/typo3-filefill-payload
TER: https://extensions.typo3.org/extension/filefill-payload