Skip to content

jpmschuler/TYPO3-filefill-payload

Repository files navigation

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

About

TYPO3 EXT:filefill-payload

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages